From 9b29e2f5996d365d9480e1390638a0de4a1cd9d6 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 22 Aug 2016 09:01:16 +0000 Subject: [PATCH] - Add LICENSE_FILE - Switch to options helpers --- textproc/pure-csv/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/textproc/pure-csv/Makefile b/textproc/pure-csv/Makefile index 3c3a218942f3..1bb118cd3ed9 100644 --- a/textproc/pure-csv/Makefile +++ b/textproc/pure-csv/Makefile @@ -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}