From ba171a91fab519f587b027c1a2888cb6e3fce049 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Jun 2008 02:14:13 +0000 Subject: Add DESTDIR support. --- archivers/advancecomp/Makefile | 3 ++- archivers/fcrackzip/Makefile | 4 +++- archivers/file-roller/Makefile | 4 +++- archivers/par2/Makefile | 3 ++- archivers/pdbar/Makefile | 3 ++- archivers/pdbar/distinfo | 4 ++-- archivers/pdbar/patches/patch-aa | 18 +++++++++--------- archivers/php-bz2/Makefile | 4 +++- archivers/php-zip/Makefile | 4 +++- archivers/php-zlib/Makefile | 4 +++- 10 files changed, 32 insertions(+), 19 deletions(-) (limited to 'archivers') diff --git a/archivers/advancecomp/Makefile b/archivers/advancecomp/Makefile index dde7622d678..831f39c4527 100644 --- a/archivers/advancecomp/Makefile +++ b/archivers/advancecomp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/01/14 16:28:40 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:13 joerg Exp $ DISTNAME= advancecomp-1.15 CATEGORIES= archivers @@ -9,6 +9,7 @@ HOMEPAGE= http://advancemame.sourceforge.net/ COMMENT= Recompression utilities for .zip, .png, .mng and .gz files PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes USE_LANGUAGES= c c++ diff --git a/archivers/fcrackzip/Makefile b/archivers/fcrackzip/Makefile index f0e6ef3e5fe..624b0fd4d39 100644 --- a/archivers/fcrackzip/Makefile +++ b/archivers/fcrackzip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/04/25 07:47:47 kefren Exp $ +# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:13 joerg Exp $ DISTNAME= fcrackzip-0.3 MASTER_SITES= http://www.goof.com/pcg/marc/data/ @@ -8,6 +8,8 @@ COMMENT= Zip password cracker MAINTAINER= pkgsrc-users@pkgsrc.org HOMEPAGE= http://www.goof.com/pcg/marc/fcrackzip.html +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes .include "../../mk/bsd.pkg.mk" diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile index 3c2f7f3e0b6..7d859e421f6 100644 --- a/archivers/file-roller/Makefile +++ b/archivers/file-roller/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.83 2008/05/29 16:43:23 drochner Exp $ +# $NetBSD: Makefile,v 1.84 2008/06/12 02:14:13 joerg Exp $ # DISTNAME= file-roller-2.22.3 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://fileroller.sourceforge.net/ COMMENT= Front-end to archiving programs like tar and zip +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= gtar-base>=1.13.25:../../archivers/gtar-base DEPENDS+= unzip>=5.50nb2:../../archivers/unzip DEPENDS+= zip>=2.3nb2:../../archivers/zip diff --git a/archivers/par2/Makefile b/archivers/par2/Makefile index 360a64de7cf..ba7c59354e2 100644 --- a/archivers/par2/Makefile +++ b/archivers/par2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/09/09 17:10:52 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:13 joerg Exp $ # DISTNAME= par2cmdline-0.4 @@ -11,6 +11,7 @@ HOMEPAGE= http://parchive.sourceforge.net/ COMMENT= Create or use PAR2 parity volumes PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= yes diff --git a/archivers/pdbar/Makefile b/archivers/pdbar/Makefile index fef56b27fc2..3d101623907 100644 --- a/archivers/pdbar/Makefile +++ b/archivers/pdbar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2005/04/11 21:44:49 tv Exp $ +# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:13 joerg Exp $ DISTNAME= prc PKGNAME= pdbar-0.5.1 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.djw.org/product/palm/par/ COMMENT= Palm database archiver PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir NO_CONFIGURE= yes diff --git a/archivers/pdbar/distinfo b/archivers/pdbar/distinfo index c8b7aa93312..1db0f0b9194 100644 --- a/archivers/pdbar/distinfo +++ b/archivers/pdbar/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 14:45:25 agc Exp $ +$NetBSD: distinfo,v 1.3 2008/06/12 02:14:13 joerg Exp $ SHA1 (prc.tgz) = 9fa21fdb6d5dc94cad187012e70043e3f5080d7d RMD160 (prc.tgz) = d4cb7f769581c04bc1a3ecf0711310c777b9cbe3 Size (prc.tgz) = 62143 bytes -SHA1 (patch-aa) = d2b5c320c39d5cee0169c3be01f72b7fca499939 +SHA1 (patch-aa) = c66268e6a6a1bb2e02eeb862ff11051fdd18f8e2 SHA1 (patch-ab) = 9acd9a21cd5d584c5e04df366945884ab3afa382 diff --git a/archivers/pdbar/patches/patch-aa b/archivers/pdbar/patches/patch-aa index 3f1e2cee688..fea73084600 100644 --- a/archivers/pdbar/patches/patch-aa +++ b/archivers/pdbar/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2004/12/30 13:04:56 minskim Exp $ +$NetBSD: patch-aa,v 1.2 2008/06/12 02:14:13 joerg Exp $ --- Makefile.orig 2001-08-17 14:11:42.000000000 -0500 +++ Makefile @@ -41,14 +41,14 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/12/30 13:04:56 minskim Exp $ - chmod 755 $(INSTALL_BINDIR)/par - cp par.man $(INSTALL_MANDIR)/par.1 - chmod 644 $(INSTALL_MANDIR)/par.1 -+ ${BSD_INSTALL_DATA_DIR} $(INSTALL_INCDIR) -+ ${BSD_INSTALL_LIB_DIR} $(INSTALL_LIBDIR) -+ ${BSD_INSTALL_PROGRAM_DIR} $(INSTALL_BINDIR) -+ ${BSD_INSTALL_MAN_DIR} $(INSTALL_MANDIR) -+ ${BSD_INSTALL_DATA} prc.h $(INSTALL_INCDIR)/prc.h -+ ${BSD_INSTALL_LIB} libprc.a $(INSTALL_LIBDIR)/libprc.a -+ ${BSD_INSTALL_PROGRAM} par $(INSTALL_BINDIR)/pdbar -+ ${BSD_INSTALL_MAN} par.man $(INSTALL_MANDIR)/pdbar.1 ++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(INSTALL_INCDIR) ++ ${BSD_INSTALL_LIB_DIR} ${DESTDIR}$(INSTALL_LIBDIR) ++ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}$(INSTALL_BINDIR) ++ ${BSD_INSTALL_MAN_DIR} ${DESTDIR}$(INSTALL_MANDIR) ++ ${BSD_INSTALL_DATA} prc.h ${DESTDIR}$(INSTALL_INCDIR)/prc.h ++ ${BSD_INSTALL_LIB} libprc.a ${DESTDIR}$(INSTALL_LIBDIR)/libprc.a ++ ${BSD_INSTALL_PROGRAM} par ${DESTDIR}$(INSTALL_BINDIR)/pdbar ++ ${BSD_INSTALL_MAN} par.man ${DESTDIR}$(INSTALL_MANDIR)/pdbar.1 TAGS: $(PAR_CFILES) $(CFILES) $(HFILES) etags -r '/^prc[^(]*(/' $(PAR_CFILES) $(CFILES) $(HFILES) diff --git a/archivers/php-bz2/Makefile b/archivers/php-bz2/Makefile index 21766ffc12b..6c6dc32c275 100644 --- a/archivers/php-bz2/Makefile +++ b/archivers/php-bz2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/06/04 16:26:52 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:13 joerg Exp $ MODNAME= bz2 CATEGORIES= archivers @@ -6,6 +6,8 @@ COMMENT= PHP extension for bzip2 compression CONFLICTS= php-bz2-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + USE_PHP_EXT_PATCHES= yes CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.bzip2} diff --git a/archivers/php-zip/Makefile b/archivers/php-zip/Makefile index 97b7505fdb3..5fab13f2a4d 100644 --- a/archivers/php-zip/Makefile +++ b/archivers/php-zip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/06/04 16:26:52 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:13 joerg Exp $ MODNAME= zip PECL_VERSION= 1.0 @@ -7,6 +7,8 @@ COMMENT= PHP extension for ZIP archive handling CONFLICTS= php-zip-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + CONFIGURE_ARGS+= --with-zip=shared,${BUILDLINK_DIR} .include "../../lang/php/ext.mk" diff --git a/archivers/php-zlib/Makefile b/archivers/php-zlib/Makefile index c474f443f00..572a07ddaa6 100644 --- a/archivers/php-zlib/Makefile +++ b/archivers/php-zlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2008/01/18 05:06:19 tnn Exp $ +# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:13 joerg Exp $ MODNAME= zlib PKGREVISION= 1 @@ -7,6 +7,8 @@ COMMENT= PHP extension for zlib compression CONFLICTS= php-zlib-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + CONFIGURE_ARGS+= --with-${MODNAME}-dir=${BUILDLINK_DIR} post-extract: -- cgit v1.2.3