svn commit: r339518 - head/security/tlswrap
Johan van Selst
johans at FreeBSD.org
Sun Jan 12 16:03:50 UTC 2014
Author: johans
Date: Sun Jan 12 16:03:49 2014
New Revision: 339518
URL: http://svnweb.freebsd.org/changeset/ports/339518
Log:
Enable stage support
Added:
head/security/tlswrap/pkg-plist (contents, props changed)
Modified:
head/security/tlswrap/Makefile
Modified: head/security/tlswrap/Makefile
==============================================================================
--- head/security/tlswrap/Makefile Sun Jan 12 15:45:46 2014 (r339517)
+++ head/security/tlswrap/Makefile Sun Jan 12 16:03:49 2014 (r339518)
@@ -9,25 +9,20 @@ MASTER_SITES= http://www.tlswrap.com/
DISTNAME= ${PORTNAME}-1.04
MAINTAINER= johans at 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>
Added: head/security/tlswrap/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/tlswrap/pkg-plist Sun Jan 12 16:03:49 2014 (r339518)
@@ -0,0 +1,3 @@
+bin/tlswrap
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
More information about the svn-ports-all
mailing list