diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 03:48:36 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 03:48:36 +0000 |
commit | 6a0bbfc67659e8fd303162cd3c8e2f27b4be528b (patch) | |
tree | 14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/xbin/Makefile | |
parent | abd93136031ca3b8ecf3b96e0d1a078f10ccd7d5 (diff) | |
download | pkgsrc-6a0bbfc67659e8fd303162cd3c8e2f27b4be528b.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'archivers/xbin/Makefile')
-rw-r--r-- | archivers/xbin/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/archivers/xbin/Makefile b/archivers/xbin/Makefile index eed9482e263..9ef0ea81c47 100644 --- a/archivers/xbin/Makefile +++ b/archivers/xbin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2007/10/31 21:50:49 gdt Exp $ +# $NetBSD: Makefile,v 1.25 2008/03/02 03:48:37 jlam Exp $ # DISTNAME= ${PRGNAME}unix @@ -16,6 +16,7 @@ NO_SRC_ON_CDROM=${RESTRICTED} NO_BIN_ON_CDROM=${RESTRICTED} PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} @@ -43,7 +44,9 @@ do-build: ${CC} ${CFLAGS} -o ${PRGNAME:Q} ${DISTNAME:Q}.c ${LDFLAGS} do-install: - ${INSTALL_PROGRAM} ${WRKSRC:Q}/${PRGNAME:Q} ${PREFIX:Q}/bin - ${INSTALL_MAN} ${WRKSRC:Q}/${PRGNAME:Q}.man ${PREFIX:Q}/${PKGMANDIR}/cat1/${PRGNAME:Q}.0 + ${INSTALL_PROGRAM} ${WRKSRC:Q}/${PRGNAME:Q} \ + ${DESTDIR}${PREFIX:Q}/bin + ${INSTALL_MAN} ${WRKSRC:Q}/${PRGNAME:Q}.man \ + ${DESTDIR}${PREFIX:Q}/${PKGMANDIR}/cat1/${PRGNAME:Q}.0 .include "../../mk/bsd.pkg.mk" |