Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2008 18:15:11 GMT
From:      José García Juanino <jjuanino@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124318: New port: databases/powerarchitect Data modeling and profiling tool
Message-ID:  <200806051815.m55IFBxF072922@www.freebsd.org>
Resent-Message-ID: <200806051820.m55IK1sC073392@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124318
>Category:       ports
>Synopsis:       New port: databases/powerarchitect Data modeling and profiling tool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 05 18:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     José García Juanino
>Release:        7.0-RELEASE
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	powerarchitect
#	powerarchitect/Makefile
#	powerarchitect/distinfo
#	powerarchitect/files
#	powerarchitect/files/powerarchitect.in
#	powerarchitect/pkg-descr
#	powerarchitect/pkg-plist
#
echo c - powerarchitect
mkdir -p powerarchitect > /dev/null 2>&1
echo x - powerarchitect/Makefile
sed 's/^X//' >powerarchitect/Makefile << 'END-of-powerarchitect/Makefile'
X# New ports collection makefile for:	powerarchitect
X# Date created:				05 Jun 2008
X# Whom:					José García Juanino <jjuanino@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	powerarchitect
XPORTVERSION=	0.9.10
XCATEGORIES=	databases java
XMASTER_SITES=	http://power-architect.googlecode.com/files/
XDISTNAME=	Architect-generic-jdbc-${PORTVERSION}
X
XMAINTAINER=	jjuanino@gmail.com
XCOMMENT=	Data modeling and profiling tool
X
XOPTIONS=	ORACLE_JDBC "Enable JDBC connection to Oracle databases" off \
X		MYSQL_JDBC "Enable JDBC connection to MySQL databases" off \
X		PGSQL_JDBC "Enable JDBC connection to PostgreSQL databases" off
X
XUSE_JAVA=	yes
X
XJAVA_VERSION=	1.5+
X
XNO_BUILD=	yes
X
XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
XWRKSRC=		${WRKDIR}/architect-${PORTVERSION}
XSUB_FILES=      ${PORTNAME}
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_ORACLE_JDBC)
XRUN_DEPENDS+=	${JAVALIBDIR}/ojdbc14.jar:${PORTSDIR}/databases/jdbc-oracle9i
X.endif
X.if defined(WITH_MYSQL_JDBC)
XRUN_DEPENDS+=	${JAVALIBDIR}/mysql-connector-java.jar:${PORTSDIR}/databases/mysql-connector-java
X.endif
X.if defined(WITH_PGSQL_JDBC)
XRUN_DEPENDS+=	${JAVALIBDIR}/postgresql.jar:${PORTSDIR}/databases/postgresql-jdbc
X.endif
X
Xdo-install:
X	@${MKDIR} ${DATADIR}/jdbc
X	@cd ${WRKSRC}/ && \
X	    ${INSTALL_DATA} architect.jar ${DATADIR}/ && \
X	    ${INSTALL_DATA} jdbc/sqlserver_2005.jar ${DATADIR}/jdbc/ && \
X	    ${COPYTREE_SHARE} lib ${DATADIR}
X	@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_MAN} ${WRKSRC}/README.generic ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-powerarchitect/Makefile
echo x - powerarchitect/distinfo
sed 's/^X//' >powerarchitect/distinfo << 'END-of-powerarchitect/distinfo'
XMD5 (Architect-generic-jdbc-0.9.10.tar.gz) = b32f727e645f50337f97f37a03313987
XSHA256 (Architect-generic-jdbc-0.9.10.tar.gz) = c4b833812cea6371b93a3d8c383a62d150fd746b1396ebfb85b377afd2296019
XSIZE (Architect-generic-jdbc-0.9.10.tar.gz) = 14773250
END-of-powerarchitect/distinfo
echo c - powerarchitect/files
mkdir -p powerarchitect/files > /dev/null 2>&1
echo x - powerarchitect/files/powerarchitect.in
sed 's/^X//' >powerarchitect/files/powerarchitect.in << 'END-of-powerarchitect/files/powerarchitect.in'
X#!/bin/sh
X
Xexec java -jar %%DATADIR%%/architect.jar
END-of-powerarchitect/files/powerarchitect.in
echo x - powerarchitect/pkg-descr
sed 's/^X//' >powerarchitect/pkg-descr << 'END-of-powerarchitect/pkg-descr'
X[ excerpt from developer's www site ]
X
XThe Power*Architect is a user-friendly data modeling tool created by data
Xwarehouse designers, and has many unique features geared specifically for the
Xdata warehouse architect. It allows users to reverse-engineer existing
Xdatabases, perform data profiling on source databases, and auto-generate ETL
Xmetadata.
X
XPlus, the Power*Architect has the ability to take snapshots of database
Xstructures, allowing users to design DW data models while working offline.
END-of-powerarchitect/pkg-descr
echo x - powerarchitect/pkg-plist
sed 's/^X//' >powerarchitect/pkg-plist << 'END-of-powerarchitect/pkg-plist'
X@comment $FreeBSD$
Xbin/powerarchitect
X%%DATADIR%%/architect.jar
X%%DATADIR%%/jdbc/sqlserver_2005.jar
X%%DATADIR%%/lib/activation.jar
X%%DATADIR%%/lib/architecthelp.jar
X%%DATADIR%%/lib/commons-beanutils-bean-collections.jar
X%%DATADIR%%/lib/commons-beanutils-core.jar
X%%DATADIR%%/lib/commons-beanutils.jar
X%%DATADIR%%/lib/commons-collections-3.1.jar
X%%DATADIR%%/lib/commons-dbcp-1.2.1.jar
X%%DATADIR%%/lib/commons-digester.jar
X%%DATADIR%%/lib/commons-logging.jar
X%%DATADIR%%/lib/commons-pool-1.3.jar
X%%DATADIR%%/lib/commons-vfs-1.0.jar
X%%DATADIR%%/lib/darwinsys.jar
X%%DATADIR%%/lib/edtftpj-1.5.4.jar
X%%DATADIR%%/lib/forms-1.1.0.jar
X%%DATADIR%%/lib/iText-2.0.8.jar
X%%DATADIR%%/lib/jakarta-regexp-1.2.jar
X%%DATADIR%%/lib/jcommon-1.0.0.jar
X%%DATADIR%%/lib/jfreechart-1.0.1.jar
X%%DATADIR%%/lib/jhall.jar
X%%DATADIR%%/lib/kettle-engine-3.0.jar
X%%DATADIR%%/lib/log4j.jar
X%%DATADIR%%/lib/mail.jar
X%%DATADIR%%/lib/spring-core.jar
X%%DATADIR%%/lib/sqlpower_library.jar
X%%PORTDOCS%%%%DOCSDIR%%/README.generic
X@dirrm %%DATADIR%%/jdbc
X@dirrm %%DATADIR%%/lib
X@dirrm %%DATADIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-powerarchitect/pkg-plist
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806051815.m55IFBxF072922>