diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-03 10:41:59 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-03 10:41:59 +0000 |
commit | bb9fa7a30301e115ab311b9b43b437d4ddc6fb4a (patch) | |
tree | c167e8f012991af88357bb078d996b7feb025593 /german/geonext/Makefile | |
parent | e8450b17212e021bdb9b58c4ef40a21315cbd5f7 (diff) | |
download | ports-bb9fa7a30301e115ab311b9b43b437d4ddc6fb4a.tar.gz ports-bb9fa7a30301e115ab311b9b43b437d4ddc6fb4a.zip |
Notes
Diffstat (limited to 'german/geonext/Makefile')
-rw-r--r-- | german/geonext/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/german/geonext/Makefile b/german/geonext/Makefile new file mode 100644 index 000000000000..5fc55c5a781d --- /dev/null +++ b/german/geonext/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: de-geonext +# Date created: 24 July 2003 +# Whom: Andreas Fehlner (fehlner@gmx.de) +# +# $FreeBSD$ +# + +PORTNAME= geonext +PORTVERSION= 1.0 +CATEGORIES= german +MASTER_SITES= http://geonext.uni-bayreuth.de/data/download/linux/ +PKGNAMEPREFIX?= de- +DISTNAME= geonext +EXTRACT_SUFX= .tgz + +MAINTAINER= fehlner@gmx.de +COMMENT= Interactive (dynamic) elementary Geometry Software + +WRKSRC= ${WRKDIR}/geonext_install +NO_BUILD= 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 +GIF= pixel.gif gx.gif gni.gif gn.gif g.gif x.ico + +do-install: + ${MKDIR} ${PREFIX}/share/${GNAME} + cd ${WRKSRC} && ${INSTALL_DATA} ${DATA} ${GLOCATE} + cd ${WRKSRC} && ${INSTALL_DATA} ${GIF} ${GLOCATE} + @${ECHO_MSG} '#!/bin/sh' > ${GLOCATE}/${GNAME} + @${ECHO_MSG} '${JAVA} -cp ${GLOCATE}/geonext.jar geonext/Geonext&'\ + >>${GLOCATE}/${GNAME} + ${CHMOD} a+x ${GLOCATE}/${GNAME} + ${SED} -e 's/GEONExT.html/geonext.html/' ${GLOCATE}/index.html > \ + ${GLOCATE}/index.tmp + ${LN} ${GLOCATE}/${GNAME} ${GLOCATE}/geonext + ${MV} ${GLOCATE}/index.tmp ${GLOCATE}/index.html + ${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> |