Lines 1-46
Link Here
|
1 |
# New ports collection makefile for: de-geonext |
1 |
# New ports collection makefile for: de-geonext |
2 |
# Date created: 24 July 2003 |
2 |
# Date created: 24 July 2003 |
3 |
# Whom: Andreas Fehlner (fehlner@gmx.de) |
3 |
# Whom: Andreas Fehlner (fehlner@gmx.de) |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/german/geonext/Makefile,v 1.4 2004/11/22 12:34:27 vs Exp $ |
5 |
# $FreeBSD: ports/german/geonext/Makefile,v 1.4 2004/11/22 12:34:27 vs Exp $ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= geonext |
|
|
9 |
PORTVERSION= 1.11 |
10 |
PORTREVISION= 1 |
11 |
CATEGORIES= german |
8 |
CATEGORIES= german |
12 |
MASTER_SITES= http://geonext.uni-bayreuth.de/data/download/ |
|
|
13 |
DISTNAME= geonext.${PORTVERSION} |
14 |
EXTRACT_SUFX= .zip |
15 |
|
9 |
|
16 |
MAINTAINER= fehlner@gmx.de |
10 |
MAINTAINER= fehlner@gmx.de |
17 |
COMMENT= Interactive (dynamic) elementary Geometry Software |
11 |
COMMENT= Interactive (dynamic) elementary Geometry Software |
18 |
|
12 |
|
19 |
WRKSRC= ${WRKDIR}/geonext_install |
13 |
WITH_LANG= de |
20 |
NO_BUILD= yes |
14 |
MASTERDIR= ${.CURDIR}/../../math/geonext |
21 |
USE_ZIP= yes |
|
|
22 |
USE_JAVA= 1.4 |
23 |
JAVA= ${JAVA_HOME}/bin/java |
24 |
GNAME= geonext-de |
25 |
GLOCATE= ${PREFIX}/share/${GNAME} |
26 |
DATA= cacerts didmat.crt geonext.html geonext.jar license.txt index.html |
27 |
IMG= g.gif gn.gif gni.gif geoint.png pixel.gif gx.gif gxt.gif ubt.gif x.ico |
28 |
|
15 |
|
29 |
do-install: |
16 |
.include "${MASTERDIR}/Makefile" |
30 |
${MKDIR} ${PREFIX}/share/${GNAME} |
|
|
31 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DATA} ${GLOCATE} |
32 |
cd ${WRKSRC} && ${INSTALL_DATA} ${IMG} ${GLOCATE} |
33 |
@${ECHO_MSG} '#!/bin/sh' > ${GLOCATE}/${GNAME} |
34 |
@${ECHO_MSG} '${JAVA} -cp ${GLOCATE}/geonext.jar geonext/Geonext language=de&'\ |
35 |
>>${GLOCATE}/${GNAME} |
36 |
${CHMOD} a+x ${GLOCATE}/${GNAME} |
37 |
${LN} ${GLOCATE}/${GNAME} ${GLOCATE}/geonext |
38 |
${INSTALL_SCRIPT} ${GLOCATE}/geonext-de ${PREFIX}/bin |
39 |
@${ECHO_MSG} "---------------------------------------------------------" |
40 |
@${ECHO_MSG} "Application: ${GLOCATE}/geonext or geonext-de" |
41 |
@${ECHO_MSG} "Browser-Applet: ${GLOCATE}/geonext.html" |
42 |
@${ECHO_MSG} "" |
43 |
@${ECHO_MSG} " WWW: http://www.geonext.de" |
44 |
@${ECHO_MSG} "------------------------------------------------------" |
45 |
|
46 |
.include <bsd.port.mk> |