summaryrefslogtreecommitdiff
path: root/archivers/archangel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
commit6a0bbfc67659e8fd303162cd3c8e2f27b4be528b (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/archangel
parentabd93136031ca3b8ecf3b96e0d1a078f10ccd7d5 (diff)
downloadpkgsrc-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/archangel')
-rw-r--r--archivers/archangel/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/archivers/archangel/Makefile b/archivers/archangel/Makefile
index 8520b1b64b3..4d9a711c012 100644
--- a/archivers/archangel/Makefile
+++ b/archivers/archangel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/07/23 14:11:06 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/02 03:48:36 jlam Exp $
DISTNAME= archangel-20050730
PKGREVISION= 1
@@ -11,14 +11,16 @@ COMMENT= Compressing archiver which can sign and encrypt entries
DEPENDS+= gnupg-[0-9]*:../../security/gnupg
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/archangel
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/aatar ${PREFIX}/bin/.
- ${INSTALL_MAN} ${WRKSRC}/aatar.1 ${PREFIX}/${PKGMANDIR}/man1/.
+ ${INSTALL_PROGRAM} ${WRKSRC}/aatar ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/aatar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"