View | Details | Raw Unified | Return to bug 45881
Collapse All | Expand All

(-)postgresql-jdbc/Makefile (-8 / +4 lines)
Lines 8-14 Link Here
8
PORTNAME=	postgresql-jdbc
8
PORTNAME=	postgresql-jdbc
9
CATEGORIES=	databases java
9
CATEGORIES=	databases java
10
10
11
MAINTAINER=	girgen@partitur.se
11
MAINTAINER=	girgen@pingpong.net
12
12
13
BUILD_DEPENDS=	${LOCALBASE}/bin/ant:${PORTSDIR}/devel/jakarta-ant
13
BUILD_DEPENDS=	${LOCALBASE}/bin/ant:${PORTSDIR}/devel/jakarta-ant
14
14
Lines 17-47 Link Here
17
17
18
CONFIGURE_ARGS=	--with-java
18
CONFIGURE_ARGS=	--with-java
19
19
20
USE_JAVA=	1.2+
20
USE_JAVA=	1.1+
21
21
22
CONFIGURE_ENV=	JAVA_HOME="${JAVA_HOME}"
22
CONFIGURE_ENV=	JAVA_HOME="${JAVA_HOME}"
23
MAKE_ENV+=	JAVA_HOME="${JAVA_HOME}"
23
MAKE_ENV+=	JAVA_HOME="${JAVA_HOME}"
24
MAKE_ARGS+=	-C src/interfaces/jdbc
24
MAKE_ARGS+=	-C src/interfaces/jdbc
25
25
26
post-build:
27
	@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C contrib/retep
28
29
post-install:
26
post-install:
30
	@ ${MKDIR} -m 0555 ${PREFIX}/share/java/classes ;\
27
	@ ${MKDIR} -m 0555 ${PREFIX}/share/java/classes ;\
31
	  ${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/jars/postgresql.jar \
28
	  ${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/jars/postgresql.jar \
32
			  ${PREFIX}/share/java/classes/postgresql.jar
29
			  ${PREFIX}/share/java/classes/postgresql.jar
33
	@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C contrib/retep install
34
.if !defined(NOPORTDOCS)
30
.if !defined(NOPORTDOCS)
35
	@ ${MKDIR} -m 0555 ${PREFIX}/share/examples/postgresql ;\
31
	@ ${MKDIR} -m 0555 ${PREFIX}/share/examples/postgresql ;\
36
	  cd ${WRKSRC}/src/interfaces/jdbc/example ;\
32
	  cd ${WRKSRC}/src/interfaces/jdbc/example ;\
37
	  pax -rw . ${PREFIX}/share/examples/postgresql
33
	  pax -rw . ${PREFIX}/share/examples/postgresql
38
.for i in README Implementation
34
.for i in README
39
	@ ${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/$i \
35
	@ ${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/$i \
40
			  ${PREFIX}/share/examples/postgresql
36
			  ${PREFIX}/share/examples/postgresql
41
.endfor
37
.endfor
42
.endif
38
.endif
43
	@ ${ECHO} ==================================== ;\
39
	@ ${ECHO} ==================================== ;\
44
	  ${SED} -e "s,/usr/local,${PREFIX},g" pkg-message ;\
40
	  ${SED} -e "s,/usr/local,${PREFIX},g"  ${PKGDIR}/pkg-message ;\
45
	  ${ECHO} ====================================
41
	  ${ECHO} ====================================
46
42
47
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)postgresql-jdbc/pkg-plist (-10 / +8 lines)
Lines 1-3 Link Here
1
%%PORTDOCS%%share/examples/postgresql/ImageViewer.java
2
%%PORTDOCS%%share/examples/postgresql/README
3
%%PORTDOCS%%share/examples/postgresql/Unicode.java
4
%%PORTDOCS%%share/examples/postgresql/basic.java
5
%%PORTDOCS%%share/examples/postgresql/blobtest.java
1
%%PORTDOCS%%share/examples/postgresql/corba/StockClient.java
6
%%PORTDOCS%%share/examples/postgresql/corba/StockClient.java
2
%%PORTDOCS%%share/examples/postgresql/corba/StockDB.java
7
%%PORTDOCS%%share/examples/postgresql/corba/StockDB.java
3
%%PORTDOCS%%share/examples/postgresql/corba/StockDispenserImpl.java
8
%%PORTDOCS%%share/examples/postgresql/corba/StockDispenserImpl.java
Lines 6-26 Link Here
6
%%PORTDOCS%%share/examples/postgresql/corba/readme
11
%%PORTDOCS%%share/examples/postgresql/corba/readme
7
%%PORTDOCS%%share/examples/postgresql/corba/stock.idl
12
%%PORTDOCS%%share/examples/postgresql/corba/stock.idl
8
%%PORTDOCS%%share/examples/postgresql/corba/stock.sql
13
%%PORTDOCS%%share/examples/postgresql/corba/stock.sql
9
%%PORTDOCS%%@dirrm share/examples/postgresql/corba
10
%%PORTDOCS%%share/examples/postgresql/ImageViewer.java
11
%%PORTDOCS%%share/examples/postgresql/Unicode.java
12
%%PORTDOCS%%share/examples/postgresql/basic.java
13
%%PORTDOCS%%share/examples/postgresql/blobtest.java
14
%%PORTDOCS%%share/examples/postgresql/datestyle.java
14
%%PORTDOCS%%share/examples/postgresql/datestyle.java
15
%%PORTDOCS%%share/examples/postgresql/metadata.java
15
%%PORTDOCS%%share/examples/postgresql/metadata.java
16
%%PORTDOCS%%share/examples/postgresql/psql.java
16
%%PORTDOCS%%share/examples/postgresql/psql.java
17
%%PORTDOCS%%share/examples/postgresql/threadsafe.java
17
%%PORTDOCS%%share/examples/postgresql/threadsafe.java
18
%%PORTDOCS%%share/examples/postgresql/README
18
share/java/classes/postgresql.jar
19
%%PORTDOCS%%share/examples/postgresql/Implementation
19
%%PORTDOCS%%@dirrm share/examples/postgresql/corba
20
%%PORTDOCS%%@dirrm share/examples/postgresql
20
@unexec rmdir %D/share/examples/postgresql 2>/dev/null || true
21
share/postgresql/java/postgresql-examples.jar
21
share/postgresql/java/postgresql-examples.jar
22
share/postgresql/java/postgresql.jar
22
share/postgresql/java/postgresql.jar
23
share/postgresql/java/retepTools.jar
24
@dirrm share/postgresql/java
23
@dirrm share/postgresql/java
25
@unexec rmdir %D/share/postgresql 2>/dev/null || true
24
@unexec rmdir %D/share/postgresql 2>/dev/null || true
26
share/java/classes/postgresql.jar

Return to bug 45881