aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-11-19 20:56:31 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-11-19 20:56:31 +0800
commited1ce1af65479323760b36fe7bdbe8b18ff0a8be (patch)
tree6d31c21757f68e613a5922649eaf26ccda9735bf /security
parenta2885804a9d63854e2f678d5dac64e1bade38bb7 (diff)
downloadfreebsd-ports-gnome-ed1ce1af65479323760b36fe7bdbe8b18ff0a8be.tar.gz
freebsd-ports-gnome-ed1ce1af65479323760b36fe7bdbe8b18ff0a8be.tar.zst
freebsd-ports-gnome-ed1ce1af65479323760b36fe7bdbe8b18ff0a8be.zip
Support staging.
Diffstat (limited to 'security')
-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