svn commit: r325359 - head/databases/pgsphere
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 25 16:16:33 UTC 2013
Author: sunpoet
Date: Sun Aug 25 16:16:32 2013
New Revision: 325359
URL: http://svnweb.freebsd.org/changeset/ports/325359
Log:
- Add LICENSE
- Convert to new options framework
- Cosmetic change
- Use single space after WWW:
Modified:
head/databases/pgsphere/Makefile
head/databases/pgsphere/pkg-descr (contents, props changed)
Modified: head/databases/pgsphere/Makefile
==============================================================================
--- head/databases/pgsphere/Makefile Sun Aug 25 16:14:58 2013 (r325358)
+++ head/databases/pgsphere/Makefile Sun Aug 25 16:16:32 2013 (r325359)
@@ -11,29 +11,32 @@ MASTER_SITES= http://pgfoundry.org/frs/d
MAINTAINER= sunpoet at 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>
Modified: head/databases/pgsphere/pkg-descr
==============================================================================
--- head/databases/pgsphere/pkg-descr Sun Aug 25 16:14:58 2013 (r325358)
+++ head/databases/pgsphere/pkg-descr Sun Aug 25 16:16:32 2013 (r325359)
@@ -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/
More information about the svn-ports-head
mailing list