diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-10 15:24:12 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-10 15:24:12 +0000 |
commit | a812006ba730010bcc7624de90a3a1bf0c19eab7 (patch) | |
tree | fb75efe1380fd1911ddd291f08eb93c3eddd1aea /databases/postgresql-jdbc | |
parent | c8468db7fa2c713580313307fe3ff947cd74aacd (diff) | |
download | ports-a812006ba730010bcc7624de90a3a1bf0c19eab7.tar.gz ports-a812006ba730010bcc7624de90a3a1bf0c19eab7.zip |
Notes
Diffstat (limited to 'databases/postgresql-jdbc')
-rw-r--r-- | databases/postgresql-jdbc/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/databases/postgresql-jdbc/Makefile b/databases/postgresql-jdbc/Makefile index f8af1d49a54f..ed33af8f70af 100644 --- a/databases/postgresql-jdbc/Makefile +++ b/databases/postgresql-jdbc/Makefile @@ -18,26 +18,24 @@ DIST_SUBDIR= postgresql USE_ANT= yes USE_JAVA= yes +NO_ARCH= 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 - OPTIONS_DEFINE= DOCS - -.include <bsd.port.options.mk> - OPTIONS_SUB= yes +post-patch: + ${REINPLACE_CMD} 's,/usr/local/pgsql/share/java,${JAVAJARDIR},' ${WRKSRC}/README + do-install: - @ ${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${STAGEDIR}${JAVAJARDIR}/postgresql.jar -.if ${PORT_OPTIONS:MDOCS} + ${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${STAGEDIR}${JAVAJARDIR}/postgresql.jar + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> |