diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 18:54:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 18:54:07 +0000 |
commit | 0f47328cb6f77b5994884154b40ae6db8535dd24 (patch) | |
tree | 14fa586bda9b2bbd41b290a110d52babb6919865 | |
parent | e074a53e9efbb49be2b1131526c4e06bac1cccbe (diff) | |
download | pkgsrc-0f47328cb6f77b5994884154b40ae6db8535dd24.tar.gz |
user-destdir support
-rw-r--r-- | www/squirm/Makefile | 8 | ||||
-rw-r--r-- | www/swiftsurf/Makefile | 14 | ||||
-rw-r--r-- | www/swill/Makefile | 6 |
3 files changed, 17 insertions, 11 deletions
diff --git a/www/squirm/Makefile b/www/squirm/Makefile index 8b119daf867..fb8e13d9f16 100644 --- a/www/squirm/Makefile +++ b/www/squirm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2008/03/04 11:02:26 rillig Exp $ +# $NetBSD: Makefile,v 1.4 2009/07/07 18:55:44 joerg Exp $ # DISTNAME= squirm-1.0betaB @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://squirm.foote.com.au/ COMMENT= Redirector for the Squid Internet Object Cache +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake GNU_CONFIGURE= yes CONFIGURE_DIRS= regex-0.12 @@ -32,7 +34,7 @@ CONF_FILES= ${EGDIR}/squirm.local.dist ${PKG_SYSCONFDIR}/squirm.local.dist CONF_FILES+= ${EGDIR}/squirm.patterns.dist ${PKG_SYSCONFDIR}/squirm.patterns.dist do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/squirm ${PREFIX}/bin/ - cd ${WRKSRC} && ${INSTALL_DATA} squirm.local.dist squirm.patterns.dist ${EGDIR}/ + ${INSTALL_PROGRAM} ${WRKSRC}/squirm ${DESTDIR}${PREFIX}/bin/ + cd ${WRKSRC} && ${INSTALL_DATA} squirm.local.dist squirm.patterns.dist ${DESTDIR}${EGDIR}/ .include "../../mk/bsd.pkg.mk" diff --git a/www/swiftsurf/Makefile b/www/swiftsurf/Makefile index 7c44c1ea8e0..d5115210aa4 100644 --- a/www/swiftsurf/Makefile +++ b/www/swiftsurf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/03/04 21:31:04 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2009/07/07 18:54:07 joerg Exp $ DISTNAME= swiftsurf-1.2.5 PKGREVISION= 3 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://swiftsurf.sourceforge.net/ COMMENT= Web proxy that can handle http and https +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc") @@ -19,7 +21,7 @@ BUILD_TARGET= byte SWIFT= swift .endif -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/doc/swiftsurf share/examples/swiftsurf do-configure: for f in ${WRKSRC}/src/conf.ml; do \ @@ -31,11 +33,9 @@ do-build: cd ${WRKSRC}/src && ${GMAKE} ${BUILD_TARGET} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/${SWIFT} ${PREFIX}/bin/swiftsurf - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/swiftsurf - ${INSTALL_DATA} ${WRKSRC}/swiftsurf.* ${PREFIX}/share/examples/swiftsurf - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/swiftsurf - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/swiftsurf + ${INSTALL_PROGRAM} ${WRKSRC}/src/${SWIFT} ${DESTDIR}${PREFIX}/bin/swiftsurf + ${INSTALL_DATA} ${WRKSRC}/swiftsurf.* ${DESTDIR}${PREFIX}/share/examples/swiftsurf + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/swiftsurf .include "../../lang/ocaml/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/swill/Makefile b/www/swill/Makefile index e139410c52f..56d12833e01 100644 --- a/www/swill/Makefile +++ b/www/swill/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2009/06/30 00:07:24 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2009/07/07 18:55:03 joerg Exp $ DISTNAME= swill-0.1 CATEGORIES= www devel @@ -8,10 +8,14 @@ MAINTAINER= thorpej@NetBSD.org HOMEPAGE= http://systems.cs.uchicago.edu/swill/ COMMENT= The Simple Web Interface Link Library +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/SWILL-0.1 GNU_CONFIGURE= yes INSTALLATION_DIRS= include lib +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} + MAKE_JOBS_SAFE= no .include "../../mk/bsd.pkg.mk" |