diff options
author | joerg <joerg> | 2006-11-14 13:50:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-11-14 13:50:13 +0000 |
commit | de13956048dc46c785040d8bc07835b5edfca6e2 (patch) | |
tree | 7d4ca4a93183d879a279d745b167428c6a0837dc /archivers/unrar | |
parent | a9a34b8547672e5cb804f776fb6e496a030be8c9 (diff) | |
download | pkgsrc-de13956048dc46c785040d8bc07835b5edfca6e2.tar.gz |
DESTDIR support.
Diffstat (limited to 'archivers/unrar')
-rw-r--r-- | archivers/unrar/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile index 6e61c4728d4..6050bf7305f 100644 --- a/archivers/unrar/Makefile +++ b/archivers/unrar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2006/09/09 02:41:54 obache Exp $ +# $NetBSD: Makefile,v 1.50 2006/11/14 13:50:13 joerg Exp $ DISTNAME= unrarsrc-3.6.8 PKGNAME= ${DISTNAME:S/src//} @@ -11,6 +11,7 @@ HOMEPAGE= http://www.rarlab.com/ COMMENT= Extract, view & test RAR archives PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir NO_CONFIGURE= YES USE_LANGUAGES= c++ @@ -24,13 +25,12 @@ NO_BIN_ON_CDROM=${RESTRICTED} WRKSRC= ${WRKDIR}/unrar -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/doc/unrar do-install: - ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/doc/unrar - cd ${WRKSRC} && ${INSTALL_PROGRAM} unrar ${PREFIX:Q}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/unrar ${DESTDIR}${PREFIX}/bin cd ${WRKSRC} && ${INSTALL_DATA} readme.txt license.txt \ - ${PREFIX:Q}/share/doc/unrar + ${DESTDIR}${PREFIX}/share/doc/unrar .include "../../mk/bsd.prefs.mk" |