summaryrefslogtreecommitdiff
path: root/archivers/arc
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/arc
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/arc')
-rw-r--r--archivers/arc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/archivers/arc/Makefile b/archivers/arc/Makefile
index 00446ecbb8a..8f904272f4c 100644
--- a/archivers/arc/Makefile
+++ b/archivers/arc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2006/10/04 20:45:46 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2008/03/02 03:48:36 jlam Exp $
DISTNAME= arc-5.21o
CATEGORIES= archivers
@@ -10,12 +10,13 @@ HOMEPAGE= http://sourceforge.net/projects/arc/
COMMENT= Create & extract files from DOS .ARC files
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/arc ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/marc ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/arc.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/arc ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/marc ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/arc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"