Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2017 09:01:18 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432315 - head/security/symbion-sslproxy
Message-ID:  <201701240901.v0O91Inh013265@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jan 24 09:01:18 2017
New Revision: 432315
URL: https://svnweb.freebsd.org/changeset/ports/432315

Log:
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/security/symbion-sslproxy/Makefile

Modified: head/security/symbion-sslproxy/Makefile
==============================================================================
--- head/security/symbion-sslproxy/Makefile	Tue Jan 24 08:28:53 2017	(r432314)
+++ head/security/symbion-sslproxy/Makefile	Tue Jan 24 09:01:18 2017	(r432315)
@@ -11,6 +11,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	SSL proxy for securing insecure connections
 
 LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake ssl tar:tgz
 CFLAGS+=	-I${OPENSSLINC}
@@ -21,6 +22,8 @@ SUB_FILES=	pkg-message
 PORTDOCS=	README
 PLIST_FILES=	sbin/ssl_proxy
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|^CC =|CC ?=| ; \
@@ -29,8 +32,10 @@ post-patch:
 		 s|^LDFLAGS =|#LDFLAGS =|' ${WRKSRC}/Makefile.global
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ssl_proxy ${STAGEDIR}${PREFIX}/sbin)
+	${INSTALL_PROGRAM} ${WRKSRC}/ssl_proxy ${STAGEDIR}${PREFIX}/sbin
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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