diff options
author | sylvio <sylvio@FreeBSD.org> | 2010-06-30 19:39:47 +0800 |
---|---|---|
committer | sylvio <sylvio@FreeBSD.org> | 2010-06-30 19:39:47 +0800 |
commit | e74da1ff30a6ff1d1ab71a9d5cce6826520aa621 (patch) | |
tree | d5ba1e1dc5b786a41b1afac6e7838bfdf1429262 /databases/pgsphere | |
parent | ffb125e0b8dcaf09dcc590e54f1de1846efacd8f (diff) | |
download | freebsd-ports-gnome-e74da1ff30a6ff1d1ab71a9d5cce6826520aa621.tar.gz freebsd-ports-gnome-e74da1ff30a6ff1d1ab71a9d5cce6826520aa621.tar.zst freebsd-ports-gnome-e74da1ff30a6ff1d1ab71a9d5cce6826520aa621.zip |
- Fix deinstallation when NOPORTDOCS is set.
PR: ports/148135
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> (maintainer)
Feature safe: yes
Diffstat (limited to 'databases/pgsphere')
-rw-r--r-- | databases/pgsphere/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/pgsphere/Makefile b/databases/pgsphere/Makefile index efb8f75157b3..5e8e9cad90e7 100644 --- a/databases/pgsphere/Makefile +++ b/databases/pgsphere/Makefile @@ -27,12 +27,14 @@ MAKE_ARGS+= DOCS="" .endif PLIST_FILES= lib/postgresql/pg_sphere.so \ - %%DATADIR%%/contrib/pg_sphere.sql \ - %%PORTDOCS%%%%DOCSDIR%%/contrib/README.pg_sphere \ - %%PORTDOCS%%%%DOCSDIR%%/contrib/COPYRIGHT.pg_sphere + %%DATADIR%%/contrib/pg_sphere.sql +PLIST_DIRS= %%DATADIR%%/contrib -PLIST_DIRS= %%DATADIR%%/contrib \ - %%PORTDOCS%%%%DOCSDIR%%/contrib +.if !defined(NOPORTDOCS) +PLIST_FILES+= %%DOCSDIR%%/contrib/README.pg_sphere \ + %%DOCSDIR%%/contrib/COPYRIGHT.pg_sphere +PLIST_DIRS+= %%DOCSDIR%%/contrib +.endif #regression-test: # @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} installcheck |