diff options
author | joerg <joerg> | 2010-01-27 19:07:31 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-27 19:07:31 +0000 |
commit | efeac3935e1670276a9e50e1cd7cf89cfad027e1 (patch) | |
tree | 17cbeef538a6a8fbbc9633aa0df8dd163d0c1527 | |
parent | b454374eb0b5eea09f8162fcbc30445aa8566b87 (diff) | |
download | pkgsrc-efeac3935e1670276a9e50e1cd7cf89cfad027e1.tar.gz |
DESTDIR support
-rw-r--r-- | sysutils/gtk-send-pr/Makefile | 7 | ||||
-rw-r--r-- | sysutils/idesk/Makefile | 9 |
2 files changed, 12 insertions, 4 deletions
diff --git a/sysutils/gtk-send-pr/Makefile b/sysutils/gtk-send-pr/Makefile index f7f0d7e3d8b..6a19fcc873e 100644 --- a/sysutils/gtk-send-pr/Makefile +++ b/sysutils/gtk-send-pr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2010/01/17 12:02:45 wiz Exp $ +# $NetBSD: Makefile,v 1.31 2010/01/27 19:07:31 joerg Exp $ # DISTNAME= gtk-send-pr-0.4.9 @@ -11,12 +11,17 @@ MAINTAINER= mmendez@energyhq.be HOMEPAGE= http://gtk-send-pr.berlios.de/index.html COMMENT= GTK+ based problem report tool +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pkg-config CPPFLAGS.SunOS+= -Dstrsep=strpbrk CPPFLAGS.IRIX+= -Dstrsep=strpbrk LDFLAGS.IRIX+= -lgen +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 +INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} + .include "../../mail/libesmtp/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/idesk/Makefile b/sysutils/idesk/Makefile index d7f058fbf50..31974d13746 100644 --- a/sysutils/idesk/Makefile +++ b/sysutils/idesk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2010/01/18 09:59:27 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2010/01/27 19:10:29 joerg Exp $ # DISTNAME= idesk-0.7.5 @@ -11,6 +11,8 @@ MAINTAINER= pancake@phreaker.net HOMEPAGE= http://idesk.sourceforge.net/ COMMENT= Lightweight desktop icons handler +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_LANGUAGES= c c++ USE_TOOLS+= gmake pkg-config @@ -22,9 +24,10 @@ SUBST_STAGE.lnkpath= pre-configure SUBST_FILES.lnkpath= examples/default.lnk SUBST_SED.lnkpath= -e 's|/usr/local/share|${PREFIX}/share|g' +INSTALLATION_DIRS+= share/doc/idesk + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/idesk - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/idesk + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/idesk .include "../../graphics/imlib2/buildlink3.mk" .include "../../x11/libSM/buildlink3.mk" |