1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- Add LICENSE_FILE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-01-24 09:01:18 +00:00
parent a89256410d
commit 08cb8c80d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432315

View File

@ -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>