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 /www/swiftsurf | |
parent | e074a53e9efbb49be2b1131526c4e06bac1cccbe (diff) | |
download | pkgsrc-0f47328cb6f77b5994884154b40ae6db8535dd24.tar.gz |
user-destdir support
Diffstat (limited to 'www/swiftsurf')
-rw-r--r-- | www/swiftsurf/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
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" |