summaryrefslogtreecommitdiff
path: root/databases/postgresql95-plperl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql95-plperl/Makefile')
-rw-r--r--databases/postgresql95-plperl/Makefile23
1 files changed, 21 insertions, 2 deletions
diff --git a/databases/postgresql95-plperl/Makefile b/databases/postgresql95-plperl/Makefile
index 07ddeaba68b0..05d272a457ba 100644
--- a/databases/postgresql95-plperl/Makefile
+++ b/databases/postgresql95-plperl/Makefile
@@ -1,6 +1,25 @@
# Created by: Palle Girgensohn <girgen@partitur.se>
# $FreeBSD$
-WANT_PGSQL_VER= 9.5
+PORTNAME= postgresql
+CATEGORIES= databases perl5
+PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
-.include "${.CURDIR}/../postgresql90-plperl/Makefile"
+MAINTAINER= pgsql@FreeBSD.org
+COMMENT= Write SQL functions for PostgreSQL using Perl5
+
+RUN_DEPENDS= postgres:databases/postgresql${WANT_PGSQL_VER:S/.//}-server
+
+MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
+
+WANT_PGSQL_VER?=9.5
+
+USES+= perl5 readline
+CONFIGURE_ARGS= --with-perl
+
+BUILD_DIRS= src/backend src/pl/plperl
+INSTALL_DIRS= src/pl/plperl
+SLAVE_ONLY= yes
+COMPONENT= -plperl
+
+.include "${MASTERDIR}/Makefile"