aboutsummaryrefslogtreecommitdiffstats
path: root/net/dante
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-02-04 06:53:09 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-02-04 06:53:09 +0800
commit160714531fd9243326a2227d64ea1bfe67fd6a98 (patch)
tree2b7d0740fa6fb77cd615a93a2f2ac96e9ebeb33f /net/dante
parentb63ae222d941cfd645cfb85d0444d1f411ec4d6b (diff)
downloadfreebsd-ports-gnome-160714531fd9243326a2227d64ea1bfe67fd6a98.tar.gz
freebsd-ports-gnome-160714531fd9243326a2227d64ea1bfe67fd6a98.tar.zst
freebsd-ports-gnome-160714531fd9243326a2227d64ea1bfe67fd6a98.zip
- Fix install from non-root
Diffstat (limited to 'net/dante')
-rw-r--r--net/dante/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/dante/Makefile b/net/dante/Makefile
index 204cd02af51f..42ccca4857a1 100644
--- a/net/dante/Makefile
+++ b/net/dante/Makefile
@@ -23,7 +23,7 @@ CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
-USES= libtool
+USES= libtool
USE_LDCONFIG= yes
USE_RC_SUBR= sockd
INSTALL_TARGET= install-strip
@@ -39,13 +39,13 @@ CONFIGURE_ARGS+= --with-libc=libc.so.7
post-install:
${INSTALL_DATA} ${WRKSRC}/example/socks.conf ${STAGEDIR}${PREFIX}/etc/socks.conf.sample
${INSTALL_DATA} ${WRKSRC}/example/sockd.conf ${STAGEDIR}${PREFIX}/etc/sockd.conf.sample
- ${INSTALL} -d -m 555 ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/sockd-basic.conf ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/sockd-chaining.conf ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/socks-simple-withoutnameserver.conf ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/socks-simple.conf ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL} -d -m 555 ${STAGEDIR}${DOCSDIR}
- ${INSTALL} -d -m 555 ${STAGEDIR}${DOCSDIR}/contrib
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib
${INSTALL_DATA} ${WRKSRC}/doc/README* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/rfc* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/SOCKS4*.protocol ${STAGEDIR}${DOCSDIR}