aboutsummaryrefslogtreecommitdiffstats
path: root/security/gorilla
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2013-12-30 01:08:28 +0800
committercrees <crees@FreeBSD.org>2013-12-30 01:08:28 +0800
commitf8af0e34dd7c92b741b2eab055785b7f375f7a2d (patch)
treebbd26110e5efeaa1dcf014712d7c9a20885925ba /security/gorilla
parentd27f3869bd834deec27ba2f4c2878943df349ec1 (diff)
downloadfreebsd-ports-gnome-f8af0e34dd7c92b741b2eab055785b7f375f7a2d.tar.gz
freebsd-ports-gnome-f8af0e34dd7c92b741b2eab055785b7f375f7a2d.tar.zst
freebsd-ports-gnome-f8af0e34dd7c92b741b2eab055785b7f375f7a2d.zip
Stage transmission ports and the rest maintained by me.
Various little obvious fixes, and a new rc script for stunnel-server
Diffstat (limited to 'security/gorilla')
-rw-r--r--security/gorilla/Makefile24
1 files changed, 9 insertions, 15 deletions
diff --git a/security/gorilla/Makefile b/security/gorilla/Makefile
index ea9177df592a..cd1d7a70d31d 100644
--- a/security/gorilla/Makefile
+++ b/security/gorilla/Makefile
@@ -17,7 +17,6 @@ LICENSE= GPLv2
RUN_DEPENDS= itcl>=3.4:${PORTSDIR}/lang/itcl \
wish:${PORTSDIR}/x11-toolkits/tk-wrapper
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${ARCH} == i386
@@ -34,8 +33,7 @@ WITHOUTSO= "@comment "
PLIST_SUB+= GORILLAARCH=${GORILLAARCH:L} WITHOUTSO=${WITHOUTSO}
WRKSRC= ${WRKDIR}/zdia-${PORTNAME}-${DISTVERSIONSUFFIX}
-USE_TCL_RUN= 85+
-USE_TK= 85+
+USES= tk:85+,run
SUB_FILES= gorilla
SUB_LIST= WISH=${WISH}
PORTDOCS= *
@@ -61,26 +59,22 @@ do-build:
do-install:
- @${MKDIR} ${PREFIX}/lib/gorilla
- @${INSTALL_SCRIPT} ${WRKSRC}/sources/*.tcl ${PREFIX}/lib/gorilla
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gorilla
+ @${INSTALL_SCRIPT} ${WRKSRC}/sources/*.tcl \
+ ${STAGEDIR}${PREFIX}/lib/gorilla
.for dir in ${SRC_DIRS}
- @${MKDIR} ${PREFIX}/lib/${PORTNAME}/${dir}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${dir}
@cd ${WRKSRC}/sources/${dir} \
&& ${COPYTREE_SHARE} \* \
- ${PREFIX}/lib/${PORTNAME}/${dir}
+ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${dir}
.endfor
- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+ @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
post-install:
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/gorilla
- @${FIND} ${PREFIX}/lib/${PORTNAME}/ -name "*.tcl" \
- | ${XARGS} ${CHMOD} ${BINMODE}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README \
${WRKSRC}/sources/README.install-from-source \
${WRKSRC}/sources/CHANGES.txt \
- ${DOCSDIR}
-.endif
+ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>