diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-25 16:16:32 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-25 16:16:32 +0000 |
commit | 52e05e831739de5c8684ba0f088a72ff6cca2594 (patch) | |
tree | ca40987edba61a048a33f0019c7a3e9eb6e1265b /databases/pgsphere | |
parent | 20c1eacf2bf58cbb06fd3ceb5c97dcbd11eaabe1 (diff) | |
download | ports-52e05e831739de5c8684ba0f088a72ff6cca2594.tar.gz ports-52e05e831739de5c8684ba0f088a72ff6cca2594.zip |
Notes
Diffstat (limited to 'databases/pgsphere')
-rw-r--r-- | databases/pgsphere/Makefile | 23 | ||||
-rw-r--r-- | databases/pgsphere/pkg-descr | 2 |
2 files changed, 14 insertions, 11 deletions
diff --git a/databases/pgsphere/Makefile b/databases/pgsphere/Makefile index 318d8314f5fe..eebc3e15d12e 100644 --- a/databases/pgsphere/Makefile +++ b/databases/pgsphere/Makefile @@ -11,29 +11,32 @@ MASTER_SITES= http://pgfoundry.org/frs/download.php/2558/ \ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Spherical data types, functions, and operators for PostgreSQL -DATADIR= ${PREFIX}/share/postgresql -DOCSDIR?= ${PREFIX}/share/doc/postgresql +LICENSE= BSD -USES= gmake +OPTIONS_DEFINE= DOCS + +MAKE_ARGS= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 docdir=${DOCSDIR} USE_LDCONFIG= yes USE_PGSQL= yes +USES= gmake -MAKE_ARGS+= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 docdir=${DOCSDIR} -.if defined(NOPORTDOCS) -MAKE_ARGS+= DOCS="" -.endif - +DATADIR= ${PREFIX}/share/postgresql +DOCSDIR?= ${PREFIX}/share/doc/postgresql PLIST_FILES= lib/postgresql/pg_sphere.so \ %%DATADIR%%/contrib/pg_sphere.sql PLIST_DIRSTRY= %%DATADIR%%/contrib -.if !defined(NOPORTDOCS) +.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 -#regression-test: +#regression-test test: build # @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} installcheck .include <bsd.port.mk> diff --git a/databases/pgsphere/pkg-descr b/databases/pgsphere/pkg-descr index 5df29c27368f..83693e345521 100644 --- a/databases/pgsphere/pkg-descr +++ b/databases/pgsphere/pkg-descr @@ -1,3 +1,3 @@ pgSphere provides spherical data types, functions, and operators for PostgreSQL. -WWW: http://pgsphere.projects.postgresql.org/ +WWW: http://pgsphere.projects.postgresql.org/ |