diff options
author | joerg <joerg> | 2009-07-07 18:50:54 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 18:50:54 +0000 |
commit | 7e0b86415112026c28f2c448000dfcbecd4064d4 (patch) | |
tree | 5cdd1712b8326dce845a28c96c80bb1ff4f21eee | |
parent | 670a142950830840d59165448ecb971c4b6728db (diff) | |
download | pkgsrc-7e0b86415112026c28f2c448000dfcbecd4064d4.tar.gz |
user-destdir support
-rw-r--r-- | www/tinyproxy/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile index d3e39e3687b..db75e782885 100644 --- a/www/tinyproxy/Makefile +++ b/www/tinyproxy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2008/01/18 05:09:54 tnn Exp $ +# $NetBSD: Makefile,v 1.25 2009/07/07 18:50:54 joerg Exp $ # DISTNAME= tinyproxy-1.6.2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://tinyproxy.sourceforge.net/ COMMENT= Lightweight HTTP/SSL proxy +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES RCD_SCRIPTS= tinyproxy @@ -49,13 +51,13 @@ SUBST_SED.docs+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' SUBST_SED.docs+= -e 's,@DATADIR@,${PREFIX}/share/tinyproxy,g' SUBST_SED.docs+= -e 's,@VARBASE@,${VARBASE},g' +INSTALLATION_DIRS= ${EGDIR} share/doc/tinyproxy + post-install: - ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/doc/tinyproxy.conf \ - ${EGDIR}/tinyproxy.conf.default - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tinyproxy + ${DESTDIR}${EGDIR}/tinyproxy.conf.default ${INSTALL_DATA} ${WRKSRC}/doc/filter-howto.txt \ - ${PREFIX}/share/doc/tinyproxy/ + ${DESTDIR}${PREFIX}/share/doc/tinyproxy/ .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |