Date: Sun, 25 Aug 2013 16:16:32 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325359 - head/databases/pgsphere Message-ID: <201308251616.r7PGGWKs094150@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308251616.r7PGGWKs094150>