- Add LICENSE

- Don't install useless docfiles
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-03-03 16:30:12 +00:00
parent 16417e2186
commit d562c67d05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410054

View file

@ -11,6 +11,9 @@ MASTER_SITES= SF/${PORTNAME}/2.%20${PORTNAME}-stable/${PORTVERSION} \
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Distributed OpenSSL session caching tools COMMENT= Distributed OpenSSL session caching tools
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= libtool tar:bzip2 USES= libtool tar:bzip2
USE_RC_SUBR= dc_server USE_RC_SUBR= dc_server
USE_OPENSSL= yes USE_OPENSSL= yes
@ -19,15 +22,17 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared CONFIGURE_ARGS= --enable-shared
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
SUB_LIST+= NAME=dc_server SUB_LIST= NAME=dc_server
PORTDOCS= ANNOUNCE BUGS CHANGES FAQ INSTALL LICENSE README PORTDOCS= ANNOUNCE BUGS CHANGES FAQ README
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS
post-install: post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
# INSTALL_TARGET=install-strip isn't working! Brute force it # INSTALL_TARGET=install-strip isn't working! Brute force it
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk> .include <bsd.port.mk>