1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/german/geonext/Makefile
Volker Stolz 1b5cb1743e Really build german version
PR:		ports/72837
Submitted by:	maintainer
2004-11-22 12:34:27 +00:00

47 lines
1.5 KiB
Makefile

# New ports collection makefile for: de-geonext
# Date created: 24 July 2003
# Whom: Andreas Fehlner (fehlner@gmx.de)
#
# $FreeBSD$
#
PORTNAME= geonext
PORTVERSION= 1.11
PORTREVISION= 1
CATEGORIES= german
MASTER_SITES= http://geonext.uni-bayreuth.de/data/download/
DISTNAME= geonext.${PORTVERSION}
EXTRACT_SUFX= .zip
MAINTAINER= fehlner@gmx.de
COMMENT= Interactive (dynamic) elementary Geometry Software
WRKSRC= ${WRKDIR}/geonext_install
NO_BUILD= yes
USE_ZIP= yes
USE_JAVA= 1.4
JAVA= ${JAVA_HOME}/bin/java
GNAME= geonext-de
GLOCATE= ${PREFIX}/share/${GNAME}
DATA= cacerts didmat.crt geonext.html geonext.jar license.txt index.html
IMG= g.gif gn.gif gni.gif geoint.png pixel.gif gx.gif gxt.gif ubt.gif x.ico
do-install:
${MKDIR} ${PREFIX}/share/${GNAME}
cd ${WRKSRC} && ${INSTALL_DATA} ${DATA} ${GLOCATE}
cd ${WRKSRC} && ${INSTALL_DATA} ${IMG} ${GLOCATE}
@${ECHO_MSG} '#!/bin/sh' > ${GLOCATE}/${GNAME}
@${ECHO_MSG} '${JAVA} -cp ${GLOCATE}/geonext.jar geonext/Geonext language=de&'\
>>${GLOCATE}/${GNAME}
${CHMOD} a+x ${GLOCATE}/${GNAME}
${LN} ${GLOCATE}/${GNAME} ${GLOCATE}/geonext
${INSTALL_SCRIPT} ${GLOCATE}/geonext-de ${PREFIX}/bin
@${ECHO_MSG} "---------------------------------------------------------"
@${ECHO_MSG} "Application: ${GLOCATE}/geonext or geonext-de"
@${ECHO_MSG} "Browser-Applet: ${GLOCATE}/geonext.html"
@${ECHO_MSG} ""
@${ECHO_MSG} " WWW: http://www.geonext.de"
@${ECHO_MSG} "------------------------------------------------------"
.include <bsd.port.mk>