- update to 1.0.7

- support staging

PR:		186666
Submitted by:	Jose Garcia Juanino <jjuanino@gmail.com>
This commit is contained in:
Ruslan Makhmatkhanov 2014-02-13 13:43:36 +00:00
parent 543240d130
commit 47384e1fcd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344105
3 changed files with 19 additions and 31 deletions

View File

@ -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}
@${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}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/README.generic ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.generic ${STAGEDIR}/${DOCSDIR}
.include <bsd.port.mk>

View File

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

View File

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