- Add LICENSE_FILE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-08-22 09:01:16 +00:00
parent aa7eab0e85
commit 9b29e2f599
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420590

View File

@ -11,16 +11,20 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= CSV reading and writing module for the Pure language
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pkgconfig pure
PORTDOCS= README
OPTIONS_DEFINE= DOCS
PORTDOCS= README
PLIST_FILES= lib/pure/csv.pure \
lib/pure/csv.so
OPTIONS_DEFINE= DOCS
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/csv.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}