# New ports collection makefile for: PostgreSQL JDBC # Date created: January 14, 2002 # Whom: Palle Girgensohn # # $FreeBSD$ # POSTGRESQL_PORT?= databases/postgresql7 PORTNAME= postgresql PORTVERSION!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V PORTVERSION PORTREVISION?= 0 CATEGORIES= databases java MASTER_SITES= ${MASTER_SITE_PGSQL} MASTER_SITE_SUBDIR!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V MASTER_SITE_SUBDIR PKGNAMESUFFIX= -jdbc DISTFILES!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V DISTFILES DIST_SUBDIR= postgresql MAINTAINER= girgen@pingpong.net COMMENT= The Java JDBC implementation for PostgreSQL BUILD_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant MD5_FILE= ${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo USE_GMAKE= YES GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-java USE_JAVA= 1.1+ CONFIGURE_ENV= JAVA_HOME="${JAVA_HOME}" MAKE_ENV+= JAVA_HOME="${JAVA_HOME}" MAKE_ARGS+= -C src/interfaces/jdbc 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 @ ${ECHO} ==================================== ;\ ${SED} -e "s,/usr/local,${PREFIX},g" ${PKGDIR}/pkg-message ;\ ${ECHO} ==================================== .include