From b30f2ef9b87fa640086ee699752a99e3f0e7b41e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 18 Sep 2016 09:01:41 +0000 Subject: [PATCH] - Switch to options helpers - Silence stripping --- databases/pure-sql3/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/databases/pure-sql3/Makefile b/databases/pure-sql3/Makefile index 30397c4c06c0..512b4a76a9c0 100644 --- a/databases/pure-sql3/Makefile +++ b/databases/pure-sql3/Makefile @@ -14,17 +14,22 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= pkgconfig pure sqlite + PORTDOCS= README PORTEXAMPLES= * -OPTIONS_DEFINE= DOCS EXAMPLES - PLIST_FILES= lib/pure/sql3.pure \ lib/pure/sql3util.so +OPTIONS_DEFINE= DOCS EXAMPLES + post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/sql3util.so + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/sql3util.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})