freebsd-ports/databases/postgresql-jdbc/Makefile
Palle Girgensohn 88413af3b8 In order to address a potential security hole recently identified with
the "LOAD" option, the PostgreSQL Global Development Group is
announcing the release of new versions of PostgreSQL.

Update to 7.3.9, 7.4.7 & 8.0.1.

Take the opportunity to reset PORTREVISION of slave ports.

Back out name change of startup script. The new script uses rc.subr(8),
and as such also uses rcorder(8). But, rcorder does not exist in FreeBSD
4.x. Hence rename the script it back to the top of the directory
list. [1]

The periodic script should of course be executable. [2]

[1] Noted by Niels Chr. Bank-Pedersen <ncbp at bank-pedersen dot dk>
[2] Noted by Fritz Heinrichmeyer <fritz.heinrichmeyer at fernuni-hagen dot de>
2005-02-03 09:30:27 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: PostgreSQL JDBC
# Date created: January 14, 2002
# Whom: Palle Girgensohn <girgen@partitur.se>
#
# $FreeBSD$
#
PORTNAME= postgresql
PORTREVISION= 0
CATEGORIES= databases java
PKGNAMESUFFIX= -jdbc
MAINTAINER= girgen@FreeBSD.org
COMMENT= The Java JDBC implementation for PostgreSQL
BUILD_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant
MASTERDIR= ${.CURDIR}/../../databases/postgresql74-server
CONFLICTS= ${PORTNAME}${PKGNAMESUFFIX}-7.[0-3]* \
${PORTNAME}${PKGNAMESUFFIX}-[1-689]*
CONFIGURE_ARGS= --with-java
USE_JAVA= yes
JAVA_VERSION?= "1.1+"
CONFIGURE_ENV= JAVA_HOME="${JAVA_HOME}"
MAKE_ENV+= JAVA_HOME="${JAVA_HOME}"
BUILD_DIRS= src/interfaces/jdbc
SLAVE_ONLY= yes
post-install:
@- ${MKDIR} -m 0555 ${PREFIX}/share/java/classes ;\
${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/jars/postgresql.jar \
${PREFIX}/share/java/classes/postgresql.jar
.if !defined(NOPORTDOCS)
@- ${MKDIR} -m 0555 ${EXAMPLESDIR} ;\
cd ${WRKSRC}/src/interfaces/jdbc/example ;\
${PAX} -rw . ${EXAMPLESDIR}
.for i in README
@- ${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/$i \
${EXAMPLESDIR}
.endfor
.endif
.include "${MASTERDIR}/Makefile"