diff options
author | obache <obache@pkgsrc.org> | 2010-03-12 12:40:01 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-03-12 12:40:01 +0000 |
commit | a4d5cb6a8a906be04d0d2ffdaffe9c473862d188 (patch) | |
tree | 59c688589dea1920338cb497b2f4290c06758d8f /mail/mhonarc | |
parent | dd92be54c5f37e79cb4f61aa41dd4d9223944c41 (diff) | |
download | pkgsrc-a4d5cb6a8a906be04d0d2ffdaffe9c473862d188.tar.gz |
* set LICENSE=gnu-gpl-v2
* add user-destdir installation support.
Diffstat (limited to 'mail/mhonarc')
-rw-r--r-- | mail/mhonarc/Makefile | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/mail/mhonarc/Makefile b/mail/mhonarc/Makefile index 70964ed5c53..7938a396af0 100644 --- a/mail/mhonarc/Makefile +++ b/mail/mhonarc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2009/08/20 15:24:59 jwise Exp $ +# $NetBSD: Makefile,v 1.29 2010/03/12 12:40:01 obache Exp $ DISTNAME= MHonArc-2.6.16 PKGNAME= mhonarc-2.6.16 @@ -9,20 +9,29 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.mhonarc.org/ COMMENT= Mailbox to HTML converter, suitable for list archives +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= perl:run NO_BUILD= YES INSTALLATION_DIRS= bin lib man share/doc +.include "../../mk/bsd.prefs.mk" + +MY_INSTALL_FLAGS= -prefix ${PREFIX} +MY_INSTALL_FLAGS+= -perl ${PERL5} +MY_INSTALL_FLAGS+= -binpath ${PREFIX}/bin +MY_INSTALL_FLAGS+= -libpath ${PREFIX}/lib/mhonarc +MY_INSTALL_FLAGS+= -docpath ${PREFIX}/share/doc/mhonarc +MY_INSTALL_FLAGS+= -manpath ${PREFIX}/${PKGMANDIR} +.if defined(_USE_DESTDIR) && ${_USE_DESTDIR} != "no" +MY_INSTALL_FLAGS+= -root ${DESTDIR} +.endif +MY_INSTALL_FLAGS+= -batch + do-install: - cd ${WRKSRC} && ${PERL5} ./install.me \ - -prefix ${PREFIX} \ - -perl ${PERL5} \ - -binpath ${PREFIX}/bin \ - -libpath ${PREFIX}/lib/mhonarc \ - -docpath ${PREFIX}/share/doc/mhonarc \ - -manpath ${PREFIX}/${PKGMANDIR} \ - -batch + cd ${WRKSRC} && ${PERL5} ./install.me ${MY_INSTALL_FLAGS} .include "../../mk/bsd.pkg.mk" |