blob: c6df5abf139ea1adca708994b00b369a278087dd (
plain)
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
|
# New ports collection makefile for: adstudio
# Date created: 9 February 2005
# Whom: Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#
PORTNAME= adstudio
PORTVERSION= 4.5.2
PORTREVISION= 1
CATEGORIES= databases devel java
MASTER_SITES= http://aquafold.fileburst.com/download/linux/
DISTNAME= ${PORTNAME}-novm
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}_${PORTREVISION}
MAINTAINER= thierry@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
USE_REINPLACE= 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
pre-configure:
${REINPLACE_CMD} -e "s|%%ADS_HOME%%|${DATADIR}|" \
-e "s|^java |JAVA_VERSION=${JAVA_VERSION} ${LOCALBASE}/bin/java -Xmx256M |" \
${WRKSRC}/datastudio.sh
do-install:
${MKDIR} ${DATADIR}
${CP} -R ${INSTFILES:S|^|${WRKSRC}/|} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/datastudio.sh ${PREFIX}/bin
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>
|