2013-02-18 08:38:33 +01:00
|
|
|
# Created by: Palle Girgensohn <girgen@partitur.se>
|
2002-02-19 09:35:58 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2005-01-31 01:20:25 +01:00
|
|
|
PORTNAME= postgresql
|
2014-06-09 08:24:45 +02:00
|
|
|
PORTVERSION= 9.2.1004
|
2005-02-11 01:10:59 +01:00
|
|
|
DISTVERSIONSUFFIX=.src
|
2002-02-19 09:35:58 +01:00
|
|
|
CATEGORIES= databases java
|
2005-02-11 01:10:59 +01:00
|
|
|
MASTER_SITES= http://jdbc.postgresql.org/download/
|
2003-09-04 14:03:58 +02:00
|
|
|
PKGNAMESUFFIX= -jdbc
|
2005-02-11 01:10:59 +01:00
|
|
|
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION:C/.([0-9][0-9][0-9]*)/-\1/g}${DISTVERSIONSUFFIX}
|
2002-02-19 09:35:58 +01:00
|
|
|
|
2012-03-04 18:19:59 +01:00
|
|
|
MAINTAINER= pgsql@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The Java JDBC implementation for PostgreSQL
|
2002-02-19 09:35:58 +01:00
|
|
|
|
2014-06-09 08:24:45 +02:00
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
|
2005-02-11 01:10:59 +01:00
|
|
|
DIST_SUBDIR= postgresql
|
2002-02-19 09:35:58 +01:00
|
|
|
|
2005-02-11 01:10:59 +01:00
|
|
|
USE_ANT= yes
|
2005-01-31 01:20:25 +01:00
|
|
|
USE_JAVA= yes
|
2002-02-19 09:35:58 +01:00
|
|
|
|
2011-12-04 15:06:47 +01:00
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/postgresql.jar
|
|
|
|
PORTDOCS= *
|
2013-02-17 17:25:53 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
|
2011-11-30 20:15:30 +01:00
|
|
|
SUB_FILES= pkg-message
|
2002-02-19 09:35:58 +01:00
|
|
|
|
2005-02-11 01:10:59 +01:00
|
|
|
post-patch:
|
2005-11-10 03:41:43 +01:00
|
|
|
${REINPLACE_CMD} 's,/usr/local/pgsql/share/java,${JAVAJARDIR},' ${WRKSRC}/README
|
2005-02-11 01:10:59 +01:00
|
|
|
|
2014-02-21 14:35:57 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-02-17 17:25:53 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2014-06-09 08:24:45 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2005-02-11 01:10:59 +01:00
|
|
|
do-install:
|
2014-06-09 08:24:45 +02:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${STAGEDIR}${JAVAJARDIR}/postgresql.jar
|
2013-02-17 17:25:53 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2014-06-09 08:24:45 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2008-02-26 23:45:56 +01:00
|
|
|
.endif
|
2011-11-30 20:15:30 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2005-02-11 01:10:59 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|