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 | 0921f3f35279f745c8e5b56be3c87c7dee3e5738 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/gif320 | |
parent | 0157fc562061bdebd896e09805aa565fff88d662 (diff) | |
download | pkgsrc-0921f3f35279f745c8e5b56be3c87c7dee3e5738.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/gif320')
-rw-r--r-- | graphics/gif320/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/graphics/gif320/Makefile b/graphics/gif320/Makefile index 14fa952a14c..f8712edec5d 100644 --- a/graphics/gif320/Makefile +++ b/graphics/gif320/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/01/07 09:13:55 rillig Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/04 15:39:09 jlam Exp $ # DISTNAME= gif320-3.3 @@ -9,18 +9,21 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= GIF file viewer for use with VT-320 terminals +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= # empty WRKSRC= ${WRKDIR}/gif320 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gif320 ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/gif320.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gif320 - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gif320 - ${INSTALL_DATA} ${WRKSRC}/README.VMS ${PREFIX}/share/doc/gif320 - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/gif320 - ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/gif320 + ${INSTALL_PROGRAM} ${WRKSRC}/gif320 ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/gif320.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gif320 + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/gif320 + ${INSTALL_DATA} ${WRKSRC}/README.VMS \ + ${DESTDIR}${PREFIX}/share/doc/gif320 + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/share/doc/gif320 + ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/gif320 .include "../../mk/bsd.pkg.mk" |