openbsd-ports/www/mhonarc/Makefile
sthen ae959cd48b Fix MHonArc following the perl update, there is another case of "Can't use
'defined(%hash)'" which is now an error ("Compilation failed in require")
rather than just a warning.
2017-03-02 09:47:40 +00:00

42 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.32 2017/03/02 09:47:40 sthen Exp $
COMMENT= highly customizable e-mail to HTML converter
DISTNAME= MHonArc-2.6.19
REVISION= 0
PKGNAME= ${DISTNAME:L}
CATEGORIES= www mail
HOMEPAGE= http://www.mhonarc.org/
MASTER_SITES= http://www.mhonarc.org/release/MHonArc/tar/ \
http://mhonarc.domainunion.de/release/MHonArc/tar/
MAINTAINER= Christian Rueger <cr+openbsd@rueger-net.de>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
CONFIGURE_STYLE= perl
CONFIGURE_ARGS= PREFIX='$${${DESTDIRNAME}}${PREFIX}' \
INSTALLSITELIB='$${${DESTDIRNAME}}${PREFIX}/libdata/perl5/site_perl' \
INSTALLPRIVLIB='$${${DESTDIRNAME}}/usr/./libdata/perl5' \
INSTALLMAN1DIR='$${${DESTDIRNAME}}${PREFIX}/man/man1' \
INSTALLMAN3DIR='$${${DESTDIRNAME}}${PREFIX}/man/man3p'
ALL_TARGET= default
EXAMPLES= mha-preview mhasiteinit.pl mhonarc.vim *.mrc
EXTRAS= mha-mhedit/*
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mhonarc
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mhonarc/mha-mhedit
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} \
${PREFIX}/share/examples/mhonarc
cd ${WRKSRC}/extras && ${INSTALL_DATA} ${EXTRAS} \
${PREFIX}/share/examples/mhonarc/mha-mhedit
.include <bsd.port.mk>