diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-08-26 00:16:32 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-08-26 00:16:32 +0800 |
commit | 0bc113e131d73d1262fc888488e4423c6d70fbcf (patch) | |
tree | ca40987edba61a048a33f0019c7a3e9eb6e1265b /databases | |
parent | 0d3a14a8395fb30453dab9fa7d736dd3149e7c7e (diff) | |
download | freebsd-ports-gnome-0bc113e131d73d1262fc888488e4423c6d70fbcf.tar.gz freebsd-ports-gnome-0bc113e131d73d1262fc888488e4423c6d70fbcf.tar.zst freebsd-ports-gnome-0bc113e131d73d1262fc888488e4423c6d70fbcf.zip |
- Add LICENSE
- Convert to new options framework
- Cosmetic change
- Use single space after WWW:
Diffstat (limited to 'databases')
-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/ |