aboutsummaryrefslogtreecommitdiff
path: root/security/tlswrap
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-01-12 16:03:49 +0000
committerJohan van Selst <johans@FreeBSD.org>2014-01-12 16:03:49 +0000
commit048096ccddeb502a4abac4722728ddc2e36776e7 (patch)
tree8af85017f2c332f48d678e4f132a6d9807b6e9e1 /security/tlswrap
parentef3357f1b6906b39e8a1bd20b1be70fbc4070615 (diff)
downloadports-048096ccddeb502a4abac4722728ddc2e36776e7.tar.gz
ports-048096ccddeb502a4abac4722728ddc2e36776e7.zip
Notes
Diffstat (limited to 'security/tlswrap')
-rw-r--r--security/tlswrap/Makefile15
-rw-r--r--security/tlswrap/pkg-plist3
2 files changed, 8 insertions, 10 deletions
diff --git a/security/tlswrap/Makefile b/security/tlswrap/Makefile
index 1bf7312652b4..a6a1afba7d4a 100644
--- a/security/tlswrap/Makefile
+++ b/security/tlswrap/Makefile
@@ -9,25 +9,20 @@ MASTER_SITES= http://www.tlswrap.com/
DISTNAME= ${PORTNAME}-1.04
MAINTAINER= johans@FreeBSD.org
-COMMENT= An FTP proxy that wraps data and control with TLS/SSL
+COMMENT= FTP proxy that wraps data and control with TLS/SSL
GNU_CONFIGURE= yes
USE_OPENSSL= yes
-PLIST_FILES= bin/tlswrap
-PORTDOCS= README
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -E 's,^(CC|CFLAGS|LDFLAGS).*=,\1?=,g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E 's,pipe([12]),pipe0\1,g' \
${WRKSRC}/misc.[ch] ${WRKSRC}/network.c ${WRKSRC}/tlswrap.c
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-.endif
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/tlswrap ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/security/tlswrap/pkg-plist b/security/tlswrap/pkg-plist
new file mode 100644
index 000000000000..d7169cc44a30
--- /dev/null
+++ b/security/tlswrap/pkg-plist
@@ -0,0 +1,3 @@
+bin/tlswrap
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%