summaryrefslogtreecommitdiff
path: root/archivers/unace-bin
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-09 23:30:07 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-09 23:30:07 +0000
commitc049324d4f77017239146aa07f5a07fbfb618507 (patch)
tree3d427857a364fbcff7df0b7220a72b04c44254b5 /archivers/unace-bin
parent9138c2ff462c26331a1f98b681f7cc4f4d98f202 (diff)
downloadpkgsrc-c049324d4f77017239146aa07f5a07fbfb618507.tar.gz
DESTDIR support.
Diffstat (limited to 'archivers/unace-bin')
-rw-r--r--archivers/unace-bin/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/archivers/unace-bin/Makefile b/archivers/unace-bin/Makefile
index 3d1379241a5..6bcf653606b 100644
--- a/archivers/unace-bin/Makefile
+++ b/archivers/unace-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/05/25 13:16:10 dillo Exp $
+# $NetBSD: Makefile,v 1.7 2009/02/09 23:38:34 joerg Exp $
#
DISTNAME= linunace25
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.winace.com/
COMMENT= Extract, list and test files in ACE archives (Linux binary)
+PKG_DESTDIR_SUPPORT= user-destdir
+
LICENSE= unace-license
RESTRICTED= Only original file distribution.
NO_BIN_ON_FTP= ${RESTRICTED}
@@ -22,11 +24,10 @@ EMUL_MODULES.linux= base compat
WRKSRC= ${WRKDIR}
BUILD_DIRS= # empty
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin share/doc/unace-bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/unace ${PREFIX}/bin/unace-bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unace-bin
- ${INSTALL_DATA} ${WRKSRC}/licence ${PREFIX}/share/doc/unace-bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/unace ${DESTDIR}${PREFIX}/bin/unace-bin
+ ${INSTALL_DATA} ${WRKSRC}/licence ${DESTDIR}${PREFIX}/share/doc/unace-bin
.include "../../mk/bsd.pkg.mk"