mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: PostgreSQL JDBC
|
|
# Date created: January 14, 2002
|
|
# Whom: Palle Girgensohn <girgen@partitur.se>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= postgresql
|
|
PORTVERSION= 8.3.603
|
|
DISTVERSIONSUFFIX=.src
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases java
|
|
MASTER_SITES= http://jdbc.postgresql.org/download/
|
|
PKGNAMESUFFIX= -jdbc
|
|
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION:C/.([0-9][0-9][0-9]*)/-\1/g}${DISTVERSIONSUFFIX}
|
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
|
COMMENT= The Java JDBC implementation for PostgreSQL
|
|
|
|
DIST_SUBDIR= postgresql
|
|
|
|
USE_ANT= yes
|
|
USE_JAVA= yes
|
|
|
|
PKGMESSAGE= ${WRKDIR}/.pkg-message
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's,/usr/local/pgsql/share/java,${JAVAJARDIR},' ${WRKSRC}/README
|
|
|
|
do-install:
|
|
@ ${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${JAVAJARDIR}/postgresql.jar
|
|
.if !defined(NOPORTDOCS)
|
|
@ ${MKDIR} -m 0755 ${DOCSDIR} ;\
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
${DOCSDIR}/README-jdbc
|
|
.endif
|
|
|
|
post-install:
|
|
@ ${SED} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" \
|
|
-e "s|%%JAVAJARDIR%%|${JAVAJARDIR}|g" \
|
|
< ${PKGDIR}/pkg-message > ${PKGMESSAGE}
|
|
@ ${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|