diff options
author | jgh <jgh@FreeBSD.org> | 2013-02-18 00:25:53 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-02-18 00:25:53 +0800 |
commit | 009840ea4786d273d72b2ddc0baa6faeede29e2d (patch) | |
tree | 58b75a8bb0efc0ae1131b2cd719f29fda6fa2fe7 /databases | |
parent | 7bb1a1f148326cbd6854f08c978682ca33e23a0c (diff) | |
download | freebsd-ports-gnome-009840ea4786d273d72b2ddc0baa6faeede29e2d.tar.gz freebsd-ports-gnome-009840ea4786d273d72b2ddc0baa6faeede29e2d.tar.zst freebsd-ports-gnome-009840ea4786d273d72b2ddc0baa6faeede29e2d.zip |
- fix documentation conflict [1]
- remove examples notation from pkg-message (no longer distributed/installed) [1]
PR: 176066
Submitted by: walterhurry@gmail.com, jgh@ [1]
With hat: pgsql@
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql-jdbc/Makefile | 13 | ||||
-rw-r--r-- | databases/postgresql-jdbc/files/pkg-message.in | 3 |
2 files changed, 7 insertions, 9 deletions
diff --git a/databases/postgresql-jdbc/Makefile b/databases/postgresql-jdbc/Makefile index 7e9d87861946..ad00c495fbcc 100644 --- a/databases/postgresql-jdbc/Makefile +++ b/databases/postgresql-jdbc/Makefile @@ -7,6 +7,7 @@ PORTNAME= postgresql PORTVERSION= 9.1.902 +PORTREVISION= 1 DISTVERSIONSUFFIX=.src CATEGORIES= databases java MASTER_SITES= http://jdbc.postgresql.org/download/ @@ -23,20 +24,20 @@ USE_JAVA= yes PLIST_FILES= %%JAVAJARDIR%%/postgresql.jar PORTDOCS= * +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= pkg-message post-patch: ${REINPLACE_CMD} 's,/usr/local/pgsql/share/java,${JAVAJARDIR},' ${WRKSRC}/README +.include <bsd.port.options.mk> + 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 +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif - -post-install: @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/databases/postgresql-jdbc/files/pkg-message.in b/databases/postgresql-jdbc/files/pkg-message.in index c04f35e32990..a0c1be4aae2f 100644 --- a/databases/postgresql-jdbc/files/pkg-message.in +++ b/databases/postgresql-jdbc/files/pkg-message.in @@ -3,6 +3,3 @@ PostgreSQL JDBC support installed! postgresql.jar resides in %%JAVAJARDIR%%/postgresql.jar Add this to your CLASSPATH! - -java examples reside in -%%EXAMPLESDIR%%/jdbc |