From owner-svn-ports-head@FreeBSD.ORG Sun Aug 25 16:16:33 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 15641FFC; Sun, 25 Aug 2013 16:16:33 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB4F525C0; Sun, 25 Aug 2013 16:16:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7PGGWw1094152; Sun, 25 Aug 2013 16:16:32 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7PGGWKs094150; Sun, 25 Aug 2013 16:16:32 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201308251616.r7PGGWKs094150@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sun, 25 Aug 2013 16:16:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325359 - head/databases/pgsphere X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Aug 2013 16:16:33 -0000 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 + +.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 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/