aboutsummaryrefslogtreecommitdiff
path: root/databases/pgsphere
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-01 18:28:26 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-01 18:28:26 +0000
commite480690c307b29e719e739e0f0a7e012fbd6e2c6 (patch)
treece58e199bf90835e788af4a68c37674b69713be3 /databases/pgsphere
parent195d2c957408ab34d1e9ca61c4db5460997f692e (diff)
downloadports-e480690c307b29e719e739e0f0a7e012fbd6e2c6.tar.gz
ports-e480690c307b29e719e739e0f0a7e012fbd6e2c6.zip
- Convert to new options helper
Notes
Notes: svn path=/head/; revision=346713
Diffstat (limited to 'databases/pgsphere')
-rw-r--r--databases/pgsphere/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/databases/pgsphere/Makefile b/databases/pgsphere/Makefile
index eb467428c4ce..80c4b9f88e18 100644
--- a/databases/pgsphere/Makefile
+++ b/databases/pgsphere/Makefile
@@ -26,15 +26,10 @@ PLIST_FILES= lib/postgresql/pg_sphere.so \
%%DATADIR%%/contrib/pg_sphere.sql
PLIST_DIRSTRY= %%DATADIR%%/contrib
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PLIST_FILES+= %%DOCSDIR%%/contrib/README.pg_sphere \
- %%DOCSDIR%%/contrib/COPYRIGHT.pg_sphere
-PLIST_DIRS+= %%DOCSDIR%%/contrib
-.else
-MAKE_ARGS+= DOCS=""
-.endif
+DOCS_MAKE_ARGS_OFF= DOCS=""
+DOCS_PLIST_DIRS= %%DOCSDIR%%/contrib
+DOCS_PLIST_FILES= %%DOCSDIR%%/contrib/README.pg_sphere \
+ %%DOCSDIR%%/contrib/COPYRIGHT.pg_sphere
regression-test test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} installcheck