diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
commit | 4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/giftrans | |
parent | a6923789124411b85aaa9c9d97b6522350124999 (diff) | |
download | pkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/giftrans')
-rw-r--r-- | graphics/giftrans/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/giftrans/Makefile b/graphics/giftrans/Makefile index 9dfee5af6f8..180be5f1980 100644 --- a/graphics/giftrans/Makefile +++ b/graphics/giftrans/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/01/07 09:13:55 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/04 15:39:09 jlam Exp $ # DISTNAME= sgif1122 @@ -11,12 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/ COMMENT= Manipulate GIF89a images' transparency, comment and other data +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/usr/src/${PKGNAME_NOREV} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/giftrans ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/giftrans.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/giftrans ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/giftrans.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |