summaryrefslogtreecommitdiff
path: root/net/dante
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-03-08 11:59:54 +0000
committerobache <obache@pkgsrc.org>2010-03-08 11:59:54 +0000
commit9a90c03808ae98aa68b0df456cf8d1c274e6e4a9 (patch)
tree3efdcb755adee4c892ad6d5226420e69d880d3f6 /net/dante
parentb154cf7955bf6f71257cdd0ad488c2d96d2e0ddc (diff)
downloadpkgsrc-9a90c03808ae98aa68b0df456cf8d1c274e6e4a9.tar.gz
Add user-destdir installation support.
Diffstat (limited to 'net/dante')
-rw-r--r--net/dante/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/dante/Makefile b/net/dante/Makefile
index 9ee852c8bbf..a512f36bb45 100644
--- a/net/dante/Makefile
+++ b/net/dante/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/12/04 13:30:06 abs Exp $
+# $NetBSD: Makefile,v 1.22 2010/03/08 11:59:54 obache Exp $
DISTNAME= dante-1.1.19
PKGREVISION= 1
@@ -11,6 +11,8 @@ COMMENT= BSD-licensed socks 4/5 proxy suite
CONFLICTS= socks4-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-socks-conf=${PKG_SYSCONFDIR}/socks.conf
@@ -20,10 +22,11 @@ CHECK_PORTABILITY_SKIP= contrib/StartupItems.Dante
RCD_SCRIPTS= sockd
+INSTALLATION_DIRS+= share/examples/dante
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dante
.for cfg in sockd.conf socks-simple.conf socks.conf
- ${INSTALL_DATA} ${WRKSRC}/example/${cfg} ${PREFIX}/share/examples/dante
+ ${INSTALL_DATA} ${WRKSRC}/example/${cfg} ${DESTDIR}${PREFIX}/share/examples/dante
.endfor
.include "../../mk/bsd.pkg.mk"