diff options
author | jlam <jlam> | 2008-03-02 03:48:36 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 03:48:36 +0000 |
commit | 3222446d842fc6000d59dc223f801a8762d7510f (patch) | |
tree | 14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/unace | |
parent | 009577271ae73dec9c5a8e01bda4361a966a5406 (diff) | |
download | pkgsrc-3222446d842fc6000d59dc223f801a8762d7510f.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/unace')
-rw-r--r-- | archivers/unace/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/archivers/unace/Makefile b/archivers/unace/Makefile index 9db14921bd1..2e9f1bd49c9 100644 --- a/archivers/unace/Makefile +++ b/archivers/unace/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/11/03 14:10:32 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 03:48:37 jlam Exp $ # DISTNAME= unace-1.2b @@ -12,6 +12,7 @@ HOMEPAGE= http://www.winace.com/ COMMENT= Extract, list and test files in ACE archives PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir LICENSE= unace-source-license RESTRICTED= Only original file distribution. @@ -25,8 +26,9 @@ BUILD_TARGET= clean unace INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/unace ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unace - ${INSTALL_MAN} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/unace + ${INSTALL_PROGRAM} ${WRKSRC}/unace ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/unace + ${INSTALL_MAN} ${WRKSRC}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/unace .include "../../mk/bsd.pkg.mk" |