aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/pgsphere/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/databases/pgsphere/Makefile b/databases/pgsphere/Makefile
index eb467428c4c..80c4b9f88e1 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