Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2014 16:03:49 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339518 - head/security/tlswrap
Message-ID:  <201401121603.s0CG3nD3093020@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401121603.s0CG3nD3093020>