aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgsphere
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-02-13 03:26:43 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-02-13 03:26:43 +0800
commitaddcd0eebc81dc98c4bfcc04dbd1f16c5bef79b3 (patch)
treef1fee6fdc68d0963487e4b910d721e0657145525 /databases/pgsphere
parent6700d1af02e1e75d1407230547d6603bf37d9b84 (diff)
downloadfreebsd-ports-gnome-addcd0eebc81dc98c4bfcc04dbd1f16c5bef79b3.tar.gz
freebsd-ports-gnome-addcd0eebc81dc98c4bfcc04dbd1f16c5bef79b3.tar.zst
freebsd-ports-gnome-addcd0eebc81dc98c4bfcc04dbd1f16c5bef79b3.zip
pgSphere provides spherical data types, functions, and operators for PostgreSQL.
WWW: http://pgsphere.projects.postgresql.org/ PR: ports/143687 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
Diffstat (limited to 'databases/pgsphere')
-rw-r--r--databases/pgsphere/Makefile41
-rw-r--r--databases/pgsphere/distinfo3
-rw-r--r--databases/pgsphere/pkg-descr3
3 files changed, 47 insertions, 0 deletions
diff --git a/databases/pgsphere/Makefile b/databases/pgsphere/Makefile
new file mode 100644
index 000000000000..34fa0264b131
--- /dev/null
+++ b/databases/pgsphere/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: pgsphere
+# Date created: 2010-02-09
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pgsphere
+PORTVERSION= 1.1.1
+CATEGORIES= databases geography
+MASTER_SITES= http://pgfoundry.org/frs/download.php/2558/ \
+ http://sunpoet.net/distfiles/
+
+MAINTAINER= sunpoet@sunpoet.net
+COMMENT= Spherical data types, functions, and operators for PostgreSQL
+
+DATADIR= ${PREFIX}/share/postgresql
+DOCSDIR?= ${PREFIX}/share/doc/postgresql
+
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+USE_PGSQL= yes
+
+MAKE_ARGS+= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 docdir=${DOCSDIR}
+.if defined(NOPORTDOCS)
+MAKE_ARGS+= DOCS=""
+.endif
+
+PLIST_FILES= lib/postgresql/pg_sphere.so \
+ %%DATADIR%%/contrib/pg_sphere.sql \
+ %%DOCSDIR%%/contrib/README.pg_sphere \
+ %%DOCSDIR%%/contrib/COPYRIGHT.pg_sphere
+
+PLIST_DIRS= %%DOCSDIR%%/contrib \
+ %%DATADIR%%/contrib
+
+#regression-test:
+# @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} installcheck
+
+.include <bsd.port.mk>
+
diff --git a/databases/pgsphere/distinfo b/databases/pgsphere/distinfo
new file mode 100644
index 000000000000..d8fbcadfead2
--- /dev/null
+++ b/databases/pgsphere/distinfo
@@ -0,0 +1,3 @@
+MD5 (pgsphere-1.1.1.tar.gz) = 5920835ef432c5b8925d16957121f940
+SHA256 (pgsphere-1.1.1.tar.gz) = 524225536e75e3c6ec48890502a7bdc8023563dc6eb320f3ef26f995bd90ab10
+SIZE (pgsphere-1.1.1.tar.gz) = 449970
diff --git a/databases/pgsphere/pkg-descr b/databases/pgsphere/pkg-descr
new file mode 100644
index 000000000000..5df29c27368f
--- /dev/null
+++ b/databases/pgsphere/pkg-descr
@@ -0,0 +1,3 @@
+pgSphere provides spherical data types, functions, and operators for PostgreSQL.
+
+WWW: http://pgsphere.projects.postgresql.org/