diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 18:50:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 18:50:54 +0000 |
commit | f22d29c4644f9746c3a5bb50f7e68efdbb28f464 (patch) | |
tree | 5cdd1712b8326dce845a28c96c80bb1ff4f21eee /www/tinyproxy | |
parent | 61d13bc1e1f7544586c57eea65277065db9f9abb (diff) | |
download | pkgsrc-f22d29c4644f9746c3a5bb50f7e68efdbb28f464.tar.gz |
user-destdir support
Diffstat (limited to 'www/tinyproxy')
-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" |