Lines 6-42
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= geonext |
8 |
PORTNAME= geonext |
9 |
PORTVERSION= 1.0 |
9 |
PORTVERSION= 1.11 |
10 |
CATEGORIES= german |
10 |
CATEGORIES= german |
11 |
MASTER_SITES= http://geonext.uni-bayreuth.de/data/download/linux/ |
11 |
MASTER_SITES= http://geonext.uni-bayreuth.de/data/download/ |
12 |
PKGNAMEPREFIX?= de- |
12 |
PKGNAMEPREFIX?= de- |
13 |
DISTNAME= geonext |
13 |
DISTNAME= geonext.${PORTVERSION} |
14 |
EXTRACT_SUFX= .tgz |
14 |
EXTRACT_SUFX= .zip |
15 |
|
15 |
|
16 |
MAINTAINER= fehlner@gmx.de |
16 |
MAINTAINER= fehlner@gmx.de |
17 |
COMMENT= Interactive (dynamic) elementary Geometry Software |
17 |
COMMENT= Interactive (dynamic) elementary Geometry Software |
18 |
|
18 |
|
19 |
WRKSRC= ${WRKDIR}/geonext_install |
19 |
WRKSRC= ${WRKDIR}/geonext_install |
20 |
NO_BUILD= yes |
20 |
NO_BUILD= yes |
|
|
21 |
USE_ZIP= yes |
21 |
USE_JAVA= 1.4 |
22 |
USE_JAVA= 1.4 |
22 |
JAVA= ${JAVA_HOME}/bin/java |
23 |
JAVA= ${JAVA_HOME}/bin/java |
23 |
GNAME= geonext-de |
24 |
GNAME= geonext-de |
24 |
GLOCATE= ${PREFIX}/share/${GNAME} |
25 |
GLOCATE= ${PREFIX}/share/${GNAME} |
25 |
DATA= cacerts didmat.crt geonext.html geonext.jar license.txt index.html |
26 |
DATA= cacerts didmat.crt geonext.html geonext.jar license.txt index.html |
26 |
GIF= pixel.gif gx.gif gni.gif gn.gif g.gif x.ico |
27 |
IMG= g.gif gn.gif gni.gif geoint.png pixel.gif gx.gif gxt.gif ubt.gif x.ico |
27 |
|
28 |
|
28 |
do-install: |
29 |
do-install: |
29 |
${MKDIR} ${PREFIX}/share/${GNAME} |
30 |
${MKDIR} ${PREFIX}/share/${GNAME} |
30 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DATA} ${GLOCATE} |
31 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DATA} ${GLOCATE} |
31 |
cd ${WRKSRC} && ${INSTALL_DATA} ${GIF} ${GLOCATE} |
32 |
cd ${WRKSRC} && ${INSTALL_DATA} ${IMG} ${GLOCATE} |
32 |
@${ECHO_MSG} '#!/bin/sh' > ${GLOCATE}/${GNAME} |
33 |
@${ECHO_MSG} '#!/bin/sh' > ${GLOCATE}/${GNAME} |
33 |
@${ECHO_MSG} '${JAVA} -cp ${GLOCATE}/geonext.jar geonext/Geonext&'\ |
34 |
@${ECHO_MSG} '${JAVA} -cp ${GLOCATE}/geonext.jar geonext/Geonext&'\ |
34 |
>>${GLOCATE}/${GNAME} |
35 |
>>${GLOCATE}/${GNAME} |
35 |
${CHMOD} a+x ${GLOCATE}/${GNAME} |
36 |
${CHMOD} a+x ${GLOCATE}/${GNAME} |
36 |
${SED} -e 's/GEONExT.html/geonext.html/' ${GLOCATE}/index.html > \ |
|
|
37 |
${GLOCATE}/index.tmp |
38 |
${LN} ${GLOCATE}/${GNAME} ${GLOCATE}/geonext |
37 |
${LN} ${GLOCATE}/${GNAME} ${GLOCATE}/geonext |
39 |
${MV} ${GLOCATE}/index.tmp ${GLOCATE}/index.html |
|
|
40 |
${INSTALL_SCRIPT} ${GLOCATE}/geonext-de ${PREFIX}/bin |
38 |
${INSTALL_SCRIPT} ${GLOCATE}/geonext-de ${PREFIX}/bin |
41 |
@${ECHO_MSG} "---------------------------------------------------------" |
39 |
@${ECHO_MSG} "---------------------------------------------------------" |
42 |
@${ECHO_MSG} "Application: ${GLOCATE}/geonext or geonext-de" |
40 |
@${ECHO_MSG} "Application: ${GLOCATE}/geonext or geonext-de" |