diff options
author | rm <rm@FreeBSD.org> | 2014-02-13 21:43:36 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2014-02-13 21:43:36 +0800 |
commit | 1fa74784740b054a2c56474011c555a8f5ece4e0 (patch) | |
tree | f592eebb6ec76a18b883c3298397f2e07fbead89 | |
parent | 27ced20804c9d73106a29c333d73dfbb21acbd9a (diff) | |
download | freebsd-ports-gnome-1fa74784740b054a2c56474011c555a8f5ece4e0.tar.gz freebsd-ports-gnome-1fa74784740b054a2c56474011c555a8f5ece4e0.tar.zst freebsd-ports-gnome-1fa74784740b054a2c56474011c555a8f5ece4e0.zip |
- update to 1.0.7
- support staging
PR: 186666
Submitted by: Jose Garcia Juanino <jjuanino@gmail.com>
-rw-r--r-- | databases/powerarchitect/Makefile | 40 | ||||
-rw-r--r-- | databases/powerarchitect/distinfo | 4 | ||||
-rw-r--r-- | databases/powerarchitect/pkg-plist | 8 |
3 files changed, 20 insertions, 32 deletions
diff --git a/databases/powerarchitect/Makefile b/databases/powerarchitect/Makefile index 6f6d2362304b..2739fdb2e6eb 100644 --- a/databases/powerarchitect/Makefile +++ b/databases/powerarchitect/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= powerarchitect -PORTVERSION= 1.0.6 +PORTVERSION= 1.0.7 CATEGORIES= databases java MASTER_SITES= GOOGLE_CODE DISTNAME= SQL-Power-Architect-generic-jdbc-${PORTVERSION} @@ -14,41 +14,31 @@ LICENSE= GPLv3 OPTIONS_DEFINE= ORACLE_JDBC MYSQL_JDBC PGSQL_JDBC +ORACLE_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/ojdbc-10.2.0.5.jar:${PORTSDIR}/databases/jdbc-oracle10g +MYSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/mysql-connector-java.jar:${PORTSDIR}/databases/mysql-connector-java +PGSQL_JDBC_RUN_DEPENDS= ${JAVALIBDIR}/postgresql.jar:${PORTSDIR}/databases/postgresql-jdbc + USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes +PORTDOCS= * PROJECTHOST= power-architect DATADIR= ${JAVASHAREDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/architect-${PORTVERSION} SUB_FILES= ${PORTNAME} -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MORACLE_JDBC} -RUN_DEPENDS+= ${JAVALIBDIR}/ojdbc-10.2.0.5.jar:${PORTSDIR}/databases/jdbc-oracle10g -.endif -.if ${PORT_OPTIONS:MMYSQL_JDBC} -RUN_DEPENDS+= ${JAVALIBDIR}/mysql-connector-java.jar:${PORTSDIR}/databases/mysql-connector-java -.endif -.if ${PORT_OPTIONS:MPGSQL_JDBC} -RUN_DEPENDS+= ${JAVALIBDIR}/postgresql.jar:${PORTSDIR}/databases/postgresql-jdbc -.endif - do-install: - @${MKDIR} ${DATADIR}/jdbc - @cd ${WRKSRC}/ && \ - ${INSTALL_DATA} architect.jar ${DATADIR}/ && \ - ${INSTALL_DATA} jdbc/sqlserver_2005.jar ${DATADIR}/jdbc/ && \ - ${COPYTREE_SHARE} lib ${DATADIR} - @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_MAN} ${WRKSRC}/README.generic ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}/${DATADIR}/jdbc + (cd ${WRKSRC}/ && \ + ${INSTALL_DATA} architect.jar ${STAGEDIR}/${DATADIR}/ && \ + ${INSTALL_DATA} jdbc/sqlserver_2005.jar ${STAGEDIR}/${DATADIR}/jdbc/ && \ + ${COPYTREE_SHARE} lib ${STAGEDIR}/${DATADIR}) + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} + + @${MKDIR} ${STAGEDIR}/${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README.generic ${STAGEDIR}/${DOCSDIR} .include <bsd.port.mk> diff --git a/databases/powerarchitect/distinfo b/databases/powerarchitect/distinfo index abb9ca414c2c..27e454ba8193 100644 --- a/databases/powerarchitect/distinfo +++ b/databases/powerarchitect/distinfo @@ -1,2 +1,2 @@ -SHA256 (SQL-Power-Architect-generic-jdbc-1.0.6.tar.gz) = 26f03b6b5dc88007e9d6740bfc50a30a3248cee5c5da4a52bf272a88ea72e831 -SIZE (SQL-Power-Architect-generic-jdbc-1.0.6.tar.gz) = 23492992 +SHA256 (SQL-Power-Architect-generic-jdbc-1.0.7.tar.gz) = e88f90ce238a35d31db5fb6c0677a056d0bd850970f6e6261cf867fc996bf378 +SIZE (SQL-Power-Architect-generic-jdbc-1.0.7.tar.gz) = 23833112 diff --git a/databases/powerarchitect/pkg-plist b/databases/powerarchitect/pkg-plist index fe1cf26abb7a..8c34367ca881 100644 --- a/databases/powerarchitect/pkg-plist +++ b/databases/powerarchitect/pkg-plist @@ -49,8 +49,6 @@ bin/powerarchitect %%DATADIR%%/lib/velocity-1.6.2.jar %%DATADIR%%/lib/velocity-tools-generic-1.4.jar %%DATADIR%%/lib/xercesImpl-2.9.1.jar -%%PORTDOCS%%%%DOCSDIR%%/README.generic -@dirrm %%DATADIR%%/lib -@dirrm %%DATADIR%%/jdbc -@dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrmtry %%DATADIR%%/lib +@dirrmtry %%DATADIR%%/jdbc +@dirrmtry %%DATADIR%% |