aboutsummaryrefslogtreecommitdiff
path: root/security/zebedee
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-19 12:56:31 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-19 12:56:31 +0000
commit5bbcd8ee12f4768a1787016b8511ce3f051e25f5 (patch)
tree6d31c21757f68e613a5922649eaf26ccda9735bf /security/zebedee
parent7ee191e492fa116115a9306760dea6ab99fd7e19 (diff)
downloadports-5bbcd8ee12f4768a1787016b8511ce3f051e25f5.tar.gz
ports-5bbcd8ee12f4768a1787016b8511ce3f051e25f5.zip
Support staging.
Notes
Notes: svn path=/head/; revision=334309
Diffstat (limited to 'security/zebedee')
-rw-r--r--security/zebedee/Makefile30
-rw-r--r--security/zebedee/pkg-plist2
2 files changed, 18 insertions, 14 deletions
diff --git a/security/zebedee/Makefile b/security/zebedee/Makefile
index 6e695983a340..bdc1aed4db3f 100644
--- a/security/zebedee/Makefile
+++ b/security/zebedee/Makefile
@@ -10,38 +10,40 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Encrypted, secure compressed TCP tunnel
USES= perl5
-USE_OPENSSL= YES
+USE_OPENSSL= yes
USE_PERL5= build
MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS=${PTHREAD_LIBS}
-MAN1= zebedee.1 ftpgw.tcl.1
-
EXAMPLES= vncviewer.zbd vncserver.zbd server.key server.id client1.key \
client2.key clients.id
DOCS= README.txt LICENCE.txt CHANGES.txt zebedee.html ftpgw.tcl.html
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} \
-e 's| gcc| ${CC}|' \
${BUILD_WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/zebedee ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/ftpgw.tcl ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/zebedee.1 ${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/ftpgw.tcl.1 ${PREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/server.zbd ${PREFIX}/etc/server.zbd.sample
- ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/zebedee ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/ftpgw.tcl ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/zebedee.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/ftpgw.tcl.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/server.zbd ${STAGEDIR}${PREFIX}/etc/server.zbd.sample
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for e in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/${e} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${e} ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for d in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
diff --git a/security/zebedee/pkg-plist b/security/zebedee/pkg-plist
index fb5ab7363e52..bd5e9b6d2972 100644
--- a/security/zebedee/pkg-plist
+++ b/security/zebedee/pkg-plist
@@ -1,6 +1,8 @@
bin/ftpgw.tcl
bin/zebedee
etc/server.zbd.sample
+man/man1/ftpgw.tcl.1.gz
+man/man1/zebedee.1.gz
%%EXAMPLESDIR%%/client1.key
%%EXAMPLESDIR%%/client2.key
%%EXAMPLESDIR%%/clients.id