diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-04 14:36:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-04 14:36:01 +0000 |
commit | cbb7288439c0c8baa3b33bc12256f053b7c0b05c (patch) | |
tree | f9a48ed99b6ed75c8335343528ce4d873a9471c3 /mail | |
parent | 241bd2978d5508598571950e9b638b1cb93d2e6a (diff) | |
download | pkgsrc-cbb7288439c0c8baa3b33bc12256f053b7c0b05c.tar.gz |
DESTDIR support
Diffstat (limited to 'mail')
-rw-r--r-- | mail/xfmail/Makefile | 9 | ||||
-rw-r--r-- | mail/xmailbox/Makefile | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/mail/xfmail/Makefile b/mail/xfmail/Makefile index 1131c554cb2..8e40f4286e3 100644 --- a/mail/xfmail/Makefile +++ b/mail/xfmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2010/01/18 09:59:12 wiz Exp $ +# $NetBSD: Makefile,v 1.48 2010/02/04 14:36:01 joerg Exp $ DISTNAME= xfmail-1.5.5 PKGREVISION= 3 @@ -13,14 +13,17 @@ COMMENT= Xforms based mail application for Unix operating systems # A few files are. #LICENSE+= mit-license +PKG_DESTDIR_SUPPORT= user-destdir + USE_X11BASE= YES USE_LANGUAGES= c c++ USE_LIBTOOL= yes GNU_CONFIGURE= YES +INSTALLATION_DIRS+= share/doc/xfmail + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xfmail - ${INSTALL_DATA} ${WRKSRC}/Copyright ${PREFIX}/share/doc/xfmail + ${INSTALL_DATA} ${WRKSRC}/Copyright ${DESTDIR}${PREFIX}/share/doc/xfmail .include "../../databases/gdbm/buildlink3.mk" .include "../../devel/glib/buildlink3.mk" diff --git a/mail/xmailbox/Makefile b/mail/xmailbox/Makefile index a910a49b462..df21f713e9f 100644 --- a/mail/xmailbox/Makefile +++ b/mail/xmailbox/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2008/11/10 17:21:36 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2010/02/04 14:42:33 joerg Exp $ # DISTNAME= xmailbox-2.5 @@ -9,17 +9,20 @@ MASTER_SITES= ${MASTER_SITE_XCONTRIB:=applications/} MAINTAINER= bouyer@NetBSD.org COMMENT= Enhanced xbiff, with pixmap and sound support +PKG_DESTDIR_SUPPORT= user-destdir + USE_IMAKE= YES MAKE_ENV+= INSTALL_PROGRAM=${INSTALL_PROGRAM:Q} MAKE_ENV+= INSTALL_MAN=${INSTALL_MAN:Q} +INSTALLATION_DIRS+= share/xmailbox + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/xmailbox cd ${WRKSRC}/icons && ${INSTALL_DATA} \ 0xmail1.xpm 1xmail1.xpm 2xmail1.xpm 3xmail1.xpm 4xmail1.xpm \ 5xmail1.xpm xmail1.xpm xnomail1.xpm \ - ${PREFIX}/share/xmailbox + ${DESTDIR}${PREFIX}/share/xmailbox .include "../../x11/libXaw/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" |