diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-14 13:50:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-14 13:50:13 +0000 |
commit | aea9f31ecdd8e36f6624ee13acfc1f9d9e0aad49 (patch) | |
tree | 7d4ca4a93183d879a279d745b167428c6a0837dc /archivers | |
parent | 9a3c7482c55bbb70933072bcb2ed4edff3e2d619 (diff) | |
download | pkgsrc-aea9f31ecdd8e36f6624ee13acfc1f9d9e0aad49.tar.gz |
DESTDIR support.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/libarchive/Makefile | 4 | ||||
-rw-r--r-- | archivers/unrar/Makefile | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile index 000739e91ac..3aaf343a49b 100644 --- a/archivers/libarchive/Makefile +++ b/archivers/libarchive/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/11/10 00:29:44 adrianp Exp $ +# $NetBSD: Makefile,v 1.16 2006/11/14 13:50:13 joerg Exp $ # DISTNAME= libarchive-1.3.1 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://people.freebsd.org/~kientzle/libarchive/src/ COMMENT= Library to read/create different archive formats +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LIBTOOL= yes 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" |