diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-04 02:31:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-04 02:31:29 +0000 |
commit | f5ebf945e1d56df7d92a2fd828af623b23169e73 (patch) | |
tree | 87809cbb157a633cf256f8b100cb8fa1dfb4e8c7 /mail/mpop | |
parent | 09fee1cf828c3981e784db30d40cba9a8ff16f1f (diff) | |
download | pkgsrc-f5ebf945e1d56df7d92a2fd828af623b23169e73.tar.gz |
DESTDIR support
Diffstat (limited to 'mail/mpop')
-rw-r--r-- | mail/mpop/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/mpop/Makefile b/mail/mpop/Makefile index 867b546122b..6b8aa612635 100644 --- a/mail/mpop/Makefile +++ b/mail/mpop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2009/05/19 08:59:22 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2010/02/04 02:31:29 joerg Exp $ # DISTNAME= mpop-1.0.12 @@ -12,6 +12,8 @@ HOMEPAGE= http://mpop.sourceforge.net/ COMMENT= Small, fast and portable POP3 client LICENSE= gnu-gpl-v3 +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_PKGLOCALEDIR= yes USE_TOOLS+= pkg-config @@ -20,13 +22,13 @@ INFO_FILES= # PLIST CONFIGURE_ARGS+= --enable-nls EGDIR= ${PREFIX}/share/examples/mpop +INSTALLATION_DIRS+= ${EGDIR} .include "options.mk" -.include "../../devel/gettext-lib/buildlink3.mk" -.include "../../devel/libgetopt/buildlink3.mk" post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/mpoprc.example ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/mpoprc.example ${DESTDIR}${EGDIR} +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/libgetopt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |