blob: 151817125cc4f85ddd1664bf91cf1bc22d8506c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# New ports collection makefile for: adstudio
# Date created: 9 February 2005
# Whom: Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#
PORTNAME= adstudio
PORTVERSION= 9.0.9
CATEGORIES= databases devel java
MASTER_SITES= http://dd1.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 \
${LOCALBASE}/lib/libjogl.so:${PORTSDIR}/graphics/jogl
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
RESTRICTED= See <http://www.aquafold.com/licensing.html>
LICENSE= EULA
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_NAME= EULA
LICENSE_FILE= ${WRKSRC}/${INSTLICENSE}
WRKSRC= ${WRKDIR}/datastudio
INSTFILES= changelog.txt datastudio-*.png datastudio.gif \
datastudio.ico lib license
INSTSCRIPTS= datastudio runscript
INSTLICENSE= License.txt
EXTRACT_AFTER_ARGS=|${TAR} -xpf - ${INSTSCRIPTS:S|^|./datastudio/|:S|$|.sh|} ${INSTLICENSE:S|^|./datastudio/|}
pre-configure:
${REINPLACE_CMD} -e "s|%%ADS_HOME%%|${DATADIR}|" \
-e "s|^java |JAVA_VERSION=${JAVA_VERSION} exec ${LOCALBASE}/bin/java -Xmx256M |" \
${INSTSCRIPTS:S|^|${WRKSRC}/|:S|$|.sh|}
do-install:
${MKDIR} ${DATADIR}
${TAR} -C ${DATADIR} -xpf ${DISTDIR}/${_DISTFILES} \
${INSTFILES:S|^|./datastudio/|}
${MV} ${DATADIR}/datastudio/* ${DATADIR}
${RMDIR} ${DATADIR}/datastudio
${INSTALL_SCRIPT} ${INSTSCRIPTS:S|^|${WRKSRC}/|:S|$|.sh|} ${PREFIX}/bin
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>
|