diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-09 23:30:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-09 23:30:07 +0000 |
commit | c049324d4f77017239146aa07f5a07fbfb618507 (patch) | |
tree | 3d427857a364fbcff7df0b7220a72b04c44254b5 /archivers/rar | |
parent | 9138c2ff462c26331a1f98b681f7cc4f4d98f202 (diff) | |
download | pkgsrc-c049324d4f77017239146aa07f5a07fbfb618507.tar.gz |
DESTDIR support.
Diffstat (limited to 'archivers/rar')
-rw-r--r-- | archivers/rar/Makefile | 4 | ||||
-rw-r--r-- | archivers/rar/Makefile.linux-i386 | 10 | ||||
-rw-r--r-- | archivers/rar/Makefile.netbsd-i386 | 14 |
3 files changed, 15 insertions, 13 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile index 6f8080a8920..6799ce2dc9c 100644 --- a/archivers/rar/Makefile +++ b/archivers/rar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.50 2008/01/25 23:44:14 joerg Exp $ +# $NetBSD: Makefile,v 1.51 2009/02/09 23:33:27 joerg Exp $ DISTNAME= rar # overridden in Makefile.${EMUL_PLATFORM} PKGNAME= rar-2.02 # also overridden @@ -6,6 +6,8 @@ PKGREVISION= 1 CATEGORIES= archivers MASTER_SITES= # empty +PKG_DESTDIR_SUPPORT= user-destdir + MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.rarsoft.com/ COMMENT= RAR file archiver (binary) diff --git a/archivers/rar/Makefile.linux-i386 b/archivers/rar/Makefile.linux-i386 index b0b8c2ac294..a0473c13adc 100644 --- a/archivers/rar/Makefile.linux-i386 +++ b/archivers/rar/Makefile.linux-i386 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.linux-i386,v 1.1 2007/08/22 16:43:34 jlam Exp $ +# $NetBSD: Makefile.linux-i386,v 1.2 2009/02/09 23:33:27 joerg Exp $ DISTNAME= rarlinux-3.6.0 PKGNAME= ${DISTNAME:S/linux//} @@ -18,7 +18,7 @@ DOCDIR= ${PREFIX}/share/doc/rar INSTALLATION_DIRS= bin lib ${DATADIR} ${DOCDIR} do-install: - ${INSTALL_PROGRAM} ${WRKSRC:Q}/rar_static ${PREFIX:Q}/bin/rar - ${INSTALL_DATA} ${WRKSRC:Q}/default.sfx ${DATADIR:Q} - ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCDIR:Q} - ${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${DOCDIR:Q} + ${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${DESTDIR}${PREFIX}/bin/rar + ${INSTALL_DATA} ${WRKSRC}/default.sfx ${DESTDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${DESTDIR}${DOCDIR} diff --git a/archivers/rar/Makefile.netbsd-i386 b/archivers/rar/Makefile.netbsd-i386 index f1e7a607050..8329a0e3306 100644 --- a/archivers/rar/Makefile.netbsd-i386 +++ b/archivers/rar/Makefile.netbsd-i386 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.netbsd-i386,v 1.2 2007/08/23 18:20:30 jlam Exp $ +# $NetBSD: Makefile.netbsd-i386,v 1.3 2009/02/09 23:33:27 joerg Exp $ DISTNAME= rarbsd PKGNAME= rar-2.02 @@ -47,9 +47,9 @@ do-build: done do-install: - ${INSTALL_SCRIPT} ${WRKSRC:Q}/rar ${PREFIX:Q}/bin/rar - ${INSTALL_DATA} ${WRKSRC:Q}/RarFiles.Lst ${DATADIR:Q}/rarfiles.lst - ${INSTALL_DATA} ${WRKSRC:Q}/default.sfx ${DATADIR:Q}/default.sfx - ${INSTALL_DATA} ${WRKSRC:Q}/Dos.SFX ${DATADIR:Q}/dos.sfx - cd ${WRKSRC:Q} && ${INSTALL_MAN} Rar.Txt Rar_FAQ.txt \ - TechNote.Txt License.Txt Internet.Txt ${DOCDIR:Q} + ${INSTALL_SCRIPT} ${WRKSRC}/rar ${DESTDIR}${PREFIX}/bin/rar + ${INSTALL_DATA} ${WRKSRC}/RarFiles.Lst ${DESTDIR}${DATADIR}/rarfiles.lst + ${INSTALL_DATA} ${WRKSRC}/default.sfx ${DESTDIR}${DATADIR}/default.sfx + ${INSTALL_DATA} ${WRKSRC}/Dos.SFX ${DESTDIR}${DATADIR}/dos.sfx + cd ${WRKSRC} && ${INSTALL_MAN} Rar.Txt Rar_FAQ.txt \ + TechNote.Txt License.Txt Internet.Txt ${DESTDIR}${DOCDIR} |