aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql-devel
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2003-05-07 14:24:10 +0800
committerseanc <seanc@FreeBSD.org>2003-05-07 14:24:10 +0800
commit902887d2445c2543f5be6df651bf7e523301632e (patch)
treee37caa15c5e42498318f012d4fb38aa4b8501c1c /databases/postgresql-devel
parent5c43bcaca4603241673793ee7eeec382e102ea90 (diff)
downloadfreebsd-ports-graphics-902887d2445c2543f5be6df651bf7e523301632e.tar.gz
freebsd-ports-graphics-902887d2445c2543f5be6df651bf7e523301632e.tar.zst
freebsd-ports-graphics-902887d2445c2543f5be6df651bf7e523301632e.zip
Upgrade PostgreSQL-devel to 2003-05-06. Requires devel/bison1875 to
build. New version includes many protocol updates and other various goodies. See the release notes for details. http://developer.postgresql.org/docs/postgres/release.html#RELEASE-DEVEL
Diffstat (limited to 'databases/postgresql-devel')
-rw-r--r--databases/postgresql-devel/Makefile16
-rw-r--r--databases/postgresql-devel/distinfo2
2 files changed, 13 insertions, 5 deletions
diff --git a/databases/postgresql-devel/Makefile b/databases/postgresql-devel/Makefile
index 1c418eb043d..b448e12d658 100644
--- a/databases/postgresql-devel/Makefile
+++ b/databases/postgresql-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= postgresql
-PORTVERSION?= 7.4.2003.02.16
+PORTVERSION?= 7.4.2003.05.06
CATEGORIES?= databases
MASTER_SITES= http://freebsd.sean.chittenden.org/ports/ \
http://people.freebsd.org/~seanc/ports/
@@ -15,13 +15,11 @@ PKGNAMESUFFIX= -devel
MAINTAINER?= seanc@FreeBSD.org
COMMENT= Development snapshots of PostgreSQL's latest features
-BROKEN= "Does not install"
-
DIST_SUBDIR= postgresql
-USE_BISON= YES
USE_BZIP2= YES
USE_GMAKE= YES
+USE_PERL5_BUILD= YES
GNU_CONFIGURE= YES
.if defined(POSTGRESQL_SUBPORT)
@@ -33,6 +31,7 @@ MD5_FILE= ${.CURDIR}/../postgresql7/distinfo
## The rest of this file is for normal base installation
INSTALLS_SHLIB= YES
+BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison1875
CONFIGURE_ARGS= --with-libraries=${LOCALBASE}/lib \
--with-includes=${LOCALBASE}/include \
--with-docdir=${LOCALBASE}/share/doc/$PORTNAME}${PKGNAMESUFFIX}
@@ -111,6 +110,7 @@ pre-everything::
@${ECHO} " WITH_MIT_KRB5 Builds with MIT's kerberos support"
@${ECHO} " WITH_HEIMDAL_KRB5 Builds with Heimdal's kerberos support"
@${ECHO} " WITH_OPTIMIZED_CFLAGS Builds with compiler optimizations (-O3)"
+ @${ECHO} " WITH_PGCRYPTO Builds and installs pgcrypto"
@${ECHO} " WITH_DEBUG Builds with debugging symbols"
@${ECHO} ""
.if defined(WITH_MIT_KRB5) && defined(WITH_HEIMDAL_KRB5)
@@ -130,6 +130,11 @@ pre-everything::
@exit 1
.endif
+.if defined(WITH_PGCRYPTO)
+post-build:
+ ${GMAKE} -C ${WRKSRC}/contrib/pgcrypto
+.endif
+
.if defined(WITHOUT_SERVER)
do-install:
@ cd ${WRKSRC}; \
@@ -143,6 +148,9 @@ pre-install:
.endif
post-install:
+.if defined(WITH_PGCRYPTO)
+ ${GMAKE} -C ${WRKSRC}/contrib/pgcrypto install
+.endif
@ ${MKDIR} ${PREFIX}/share/postgresql ;\
${CAT} ${FILESDIR}/post-install-notes ${PKGMESSAGE} |\
${SED} "s|/usr/local|${PREFIX}|g" |\
diff --git a/databases/postgresql-devel/distinfo b/databases/postgresql-devel/distinfo
index ff280c5b80e..df974897604 100644
--- a/databases/postgresql-devel/distinfo
+++ b/databases/postgresql-devel/distinfo
@@ -1 +1 @@
-MD5 (postgresql/postgresql-7.4.2003.02.16.tar.bz2) = e68db3485edf12964fdae8564e2d986f
+MD5 (postgresql/postgresql-7.4.2003.05.06.tar.bz2) = 4c5e17e55ad506854f6c26f3b071e2fd