freebsd-ports/databases/adstudio/Makefile
Thierry Thomas 1fd6dfcef4 - Upgrade to v. 6.5.9.
- Release maintainership.

Important note: the free version (as in beer) has been removed from
Aquafold's site; this one is only free for qualified OSS developers.

Submitted by:	Mikhail Teterin <mi+kde (at) aldan.algebra.com>
2008-04-20 15:20:35 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: adstudio
# Date created: 9 February 2005
# Whom: Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#
PORTNAME= adstudio
PORTVERSION= 6.5.9
CATEGORIES= databases devel java
MASTER_SITES= http://download.aquafold.com/download/v${PORTVERSION:R}.0/java/
DISTNAME= ads-java-novm-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A database query and administration tool
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_BUILD= yes
RESTRICTED= See <http://www.aquafold.com/licensing.html>
NO_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}/datastudio
INSTFILES= License.txt PAD_FILE.XML changelog.txt datastudio.gif \
datastudio.ico lib license
EXTRACT_AFTER_ARGS=|${TAR} -xpf - ./datastudio/datastudio.sh
pre-configure:
${REINPLACE_CMD} -e "s|%%ADS_HOME%%|${DATADIR}|" \
-e "s|^java |JAVA_VERSION=${JAVA_VERSION} exec ${LOCALBASE}/bin/java -Xmx256M |" \
${WRKSRC}/datastudio.sh
do-install:
${MKDIR} ${DATADIR}
${TAR} -C ${DATADIR} -xpf ${DISTDIR}/${_DISTFILES} \
${INSTFILES:S|^|./datastudio/|}
${MV} ${DATADIR}/datastudio/* ${DATADIR}
${RMDIR} ${DATADIR}/datastudio
${INSTALL_SCRIPT} ${WRKSRC}/datastudio.sh ${PREFIX}/bin
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>