diff options
| author | Mathieu Arnold <mat@FreeBSD.org> | 2018-09-10 13:15:47 +0000 |
|---|---|---|
| committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-09-10 13:15:47 +0000 |
| commit | 4a3bebcae1b693cbd2080fc861c87e36af4f8bc4 (patch) | |
| tree | 3c6875e1915991a70b5d02b799e17418d20b218a /databases | |
| parent | Add DOCS options to ports that should have one. (diff) | |
Add EXAMPLES options to ports that should have one.
Also various fixes related to said option.
PR: 230864
Submitted by: mat
exp-runs by: antoine
Notes
Notes:
svn path=/head/; revision=479407
Diffstat (limited to 'databases')
| -rw-r--r-- | databases/p5-DBD-Excel/Makefile | 4 | ||||
| -rw-r--r-- | databases/skytools/Makefile | 2 | ||||
| -rw-r--r-- | databases/tcl-sqlite3/Makefile | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/databases/p5-DBD-Excel/Makefile b/databases/p5-DBD-Excel/Makefile index 361483195a79..bcb0ee5d35f9 100644 --- a/databases/p5-DBD-Excel/Makefile +++ b/databases/p5-DBD-Excel/Makefile @@ -21,7 +21,9 @@ EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} USES= perl5 USE_PERL5= configure -post-install: +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR} diff --git a/databases/skytools/Makefile b/databases/skytools/Makefile index 75010f198eba..8ea341a66e00 100644 --- a/databases/skytools/Makefile +++ b/databases/skytools/Makefile @@ -26,6 +26,8 @@ CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \ --docdir=${EXAMPLESDIR} \ --with-pgconfig=${LOCALBASE}/bin/pg_config +OPTIONS_DEFINE= EXAMPLES + post-patch: @${REINPLACE_CMD} -e 's=share/doc=share/examples=' ${WRKSRC}/setup_skytools.py diff --git a/databases/tcl-sqlite3/Makefile b/databases/tcl-sqlite3/Makefile index 0c3996f9368c..90a5c3b065d6 100644 --- a/databases/tcl-sqlite3/Makefile +++ b/databases/tcl-sqlite3/Makefile @@ -14,7 +14,7 @@ LICENSE= PD LIB_DEPENDS= libsqlite3.so:databases/sqlite3 -OPTIONS_DEFINE= THREADS +OPTIONS_DEFINE= EXAMPLES THREADS OPTIONS_DEFAULT= THREADS WRKSRC= ${WRKDIR}/${DISTNAME}/tea |
