- 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@
This commit is contained in:
Jason Helfman 2013-02-17 16:25:53 +00:00
parent b955fb4e01
commit 8b04716649
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312425
2 changed files with 7 additions and 9 deletions

View file

@ -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>

View file

@ -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