diff options
author | wiz <wiz@pkgsrc.org> | 2009-08-29 13:24:14 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-08-29 13:24:14 +0000 |
commit | 7adad2d01483f650214eda6c817b3b9141dfd83e (patch) | |
tree | 048520e7d396319c44aa8932141f63348284e6c5 /mail/claws-mail | |
parent | 6ca3f7b31c72944179027fe9e89f599da01d7f97 (diff) | |
download | pkgsrc-7adad2d01483f650214eda6c817b3b9141dfd83e.tar.gz |
Convert to user-destdir.
Diffstat (limited to 'mail/claws-mail')
-rw-r--r-- | mail/claws-mail/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile index 5f542390272..d9c4a23e79b 100644 --- a/mail/claws-mail/Makefile +++ b/mail/claws-mail/Makefile @@ -1,4 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2009/08/26 19:57:57 sno Exp $ +# $NetBSD: Makefile,v 1.24 2009/08/29 13:24:14 wiz Exp $ + +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS+= ${EGDIR} +INSTALLATION_DIRS+= share/claws-mail .include "Makefile.common" @@ -16,7 +20,6 @@ PKGCONFIG_OVERRIDE+= claws-mail.pc.in PKG_SYSCONFSUBDIR= claws-mail CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} - .include "../../mk/bsd.prefs.mk" FACES_IS_INSTALLED!= ${PKG_INFO} -e faces || ${ECHO} @@ -57,12 +60,12 @@ CONFIGURE_ARGS+= --disable-ipv6 .endif post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${FILESDIR}/mime.types ${EGDIR} - ${INSTALL_DATA_DIR} ${PREFIX}/share/claws-mail - ${INSTALL_DATA} ${WRKSRC}/claws-mail*.png ${PREFIX}/share/claws-mail + ${INSTALL_DATA} ${FILESDIR}/mime.types ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/claws-mail*.png \ + ${DESTDIR}${PREFIX}/share/claws-mail .if exists(files/shred.${OPSYS}) - ${INSTALL_SCRIPT} files/shred.${OPSYS} ${PREFIX}/bin/claws-mail-shred + ${INSTALL_SCRIPT} files/shred.${OPSYS} \ + ${DESTDIR}${PREFIX}/bin/claws-mail-shred PLIST_SRC= PLIST PLIST_SRC+= PLIST.shred .endif |