diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-04 05:48:44 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-04 05:48:44 +0800 |
commit | a4b79350eebbf824db93c259b72cb7883a1a395a (patch) | |
tree | a217c2f6b9317591e25a1528cad83dd0d6c1510b /databases/pgloader | |
parent | 627059e3b6fe0d48c50f2099e554ecb4ce115e78 (diff) | |
download | freebsd-ports-gnome-a4b79350eebbf824db93c259b72cb7883a1a395a.tar.gz freebsd-ports-gnome-a4b79350eebbf824db93c259b72cb7883a1a395a.tar.zst freebsd-ports-gnome-a4b79350eebbf824db93c259b72cb7883a1a395a.zip |
Nuke NOPORTDOCS. While, here, correct a couple offenders who label examples
with PORTDOCS. And, fix a couple WITH_foo invocations.
Diffstat (limited to 'databases/pgloader')
-rw-r--r-- | databases/pgloader/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/databases/pgloader/Makefile b/databases/pgloader/Makefile index df806b5897be..dde92c99b646 100644 --- a/databases/pgloader/Makefile +++ b/databases/pgloader/Makefile @@ -15,6 +15,8 @@ USE_PYTHON= yes RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2 +OPTIONS_DEFINE= DOCS EXAMPLES + pre-configure: ${REINPLACE_CMD} -e 's,/usr/share/python-support,${PYTHON_SITELIBDIR},' ${WRKSRC}/pgloader/options.py @@ -25,15 +27,11 @@ do-install: @cd ${WRKSRC}/pgloader && ${COPYTREE_SHARE} \* ${STAGEDIR}${PYTHON_SITELIBDIR}/pgloader/ ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/pgloader/reformat @cd ${WRKSRC}/reformat && ${COPYTREE_SHARE} \* ${STAGEDIR}${PYTHON_SITELIBDIR}/pgloader/reformat/ -.if !defined(NOPORTEXAMPLES) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} -.endif -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/BUGS.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TODO.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/pgloader.1.txt ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> |