diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-01-11 18:09:00 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-01-11 18:09:00 +0000 |
commit | 35f74fbe2efdf35c73e4ea16384ab1499fb17df0 (patch) | |
tree | 9cac7f5ea213c17593d4d5a8c733bc92daf9a6ef /databases/powerarchitect | |
parent | 70e5afba3d6e5c3b47408f4a92c9f510719e0ccf (diff) |
- Convert to option helper install target (add OPTIONS_DEFINE=DOCS
when it was missing)
- Invoke INSTALL_DATA where appropriate instead of INSTALL_MAN
- Fix some whitespace and formatting bugs along the way
Notes
Notes:
svn path=/head/; revision=458761
Diffstat (limited to 'databases/powerarchitect')
-rw-r--r-- | databases/powerarchitect/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/databases/powerarchitect/Makefile b/databases/powerarchitect/Makefile index bb3b4800973e..11124ec2e8be 100644 --- a/databases/powerarchitect/Makefile +++ b/databases/powerarchitect/Makefile @@ -12,15 +12,8 @@ COMMENT= Data modeling and profiling tool LICENSE= GPLv3 -OPTIONS_DEFINE= MYSQL_JDBC PGSQL_JDBC - -MYSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/mysql-connector-java.jar:databases/mysql-connector-java -PGSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/postgresql.jar:databases/postgresql-jdbc - USE_JAVA= yes - JAVA_VERSION= 1.6+ - NO_BUILD= yes PORTDOCS= * @@ -28,6 +21,11 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/architect-${PORTVERSION} SUB_FILES= ${PORTNAME} +OPTIONS_DEFINE= DOCS MYSQL_JDBC PGSQL_JDBC + +MYSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/mysql-connector-java.jar:databases/mysql-connector-java +PGSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/postgresql.jar:databases/postgresql-jdbc + do-install: @${MKDIR} ${STAGEDIR}/${DATADIR}/jdbc (cd ${WRKSRC}/ && \ @@ -36,7 +34,8 @@ do-install: ${COPYTREE_SHARE} lib ${STAGEDIR}/${DATADIR}) ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}/${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README.generic ${STAGEDIR}/${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.generic ${STAGEDIR}/${DOCSDIR} .include <bsd.port.mk> |