1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Switch to options helpers

- Silence stripping
This commit is contained in:
Dmitry Marakasov 2016-09-18 09:01:41 +00:00
parent 8de7ad8d12
commit b30f2ef9b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422358

View File

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