1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Upgrade to java based version

so uses new jdk as port dependency
This commit is contained in:
Andreas Klemm 1998-03-17 19:55:10 +00:00
parent cde56c1a1a
commit 79a767c4a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10216
6 changed files with 99 additions and 16 deletions

View File

@ -3,29 +3,28 @@
# Date created: Fr 4 Apr 1997 17:45:31 MET DST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $Id: Makefile,v 1.7 1997/10/04 14:53:06 andreas Exp $
# $Id: Makefile,v 1.8 1997/10/08 07:51:35 asami Exp $
#
DISTNAME= mapedit2.24
PKGNAME= mapedit-2.24
DISTNAME= mapedit2.3
PKGNAME= mapedit-2.3
CATEGORIES= www
MASTER_SITES= ftp://ftp.boutell.com/pub/boutell/mapedit/
EXTRACT_SUFX= .freebsd.tar.Z
MAINTAINER= andreas@FreeBSD.ORG
USE_X11= yes
NO_BUILD= yes
DOCDIR= ${PREFIX}/lib/X11/mapedit
RUN_DEPENDS= ${PREFIX}/java/bin/java:${PORTSDIR}/lang/jdk
NO_BUILD= yes
pre-install:
@cat ${WRKSRC}/README.TXT
@echo ""
do-install:
${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/help.html ${DOCDIR}
${INSTALL_PROGRAM} ${WRKSRC}/mapedit ${PREFIX}/bin
${MKDIR} ${PREFIX}/lib/mapedit
${CP} -r ${WRKSRC}/* ${PREFIX}/lib/mapedit
${INSTALL_SCRIPT} ${PREFIX}/lib/mapedit/mapedit ${PREFIX}/bin
${RM} -f ${PREFIX}/lib/mapedit/mapedit
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (mapedit2.24.freebsd.tar.Z) = 93ed7e052bf1378d4ea0edfc5f014608
MD5 (mapedit2.3.tar.gz) = eb1a39f49b84df0b820181d366bdf874

View File

@ -0,0 +1,24 @@
--- mapedit.orig Sun Mar 15 16:11:07 1998
+++ mapedit Sun Mar 15 16:12:24 1998
@@ -9,18 +9,17 @@
#the path of end users.
#Where you have moved the mapedit directory to
-MAPEDIT_DIR=/usr/local/lib/mapedit
+MAPEDIT_DIR=!!LOCALBASE!!/lib/mapedit
#The regular class path, which will probably
#differ on your system -- this setting
#is correct for the Linux JDK
-CLASSPATH=/usr/local/java/lib/classes.zip
+CLASSPATH=!!LOCALBASE!!/java/lib/classes.zip
#Where is your Java interpreter? If it is not in a typical
#user's path you may need to change this setting
-JAVA=java
+JAVA=!!LOCALBASE!!/java/bin/java
#Now run it!
$JAVA -classpath $CLASSPATH:$MAPEDIT_DIR:$MAPEDIT_DIR/MRJToolkitStubs.zip Mapedit -datadir $MAPEDIT_DIR
-

View File

@ -13,5 +13,3 @@ Nonprofit and educational users are required to send me a postcard!
What is mapedit: mapedit is a WYSIWYG (What You See Is What You Get)
editor for imagemap files.
For full documentation: /usr/X11R6/lib/X11/mapedit/mapedit.html

View File

@ -1,3 +1,62 @@
bin/mapedit
lib/X11/mapedit/README.TXT
lib/X11/mapedit/help.html
lib/mapedit/Mapedit.class
lib/mapedit/README.TXT
lib/mapedit/a.class
lib/mapedit/ab.class
lib/mapedit/add.gif
lib/mapedit/b.class
lib/mapedit/bb.class
lib/mapedit/c.class
lib/mapedit/cb.class
lib/mapedit/circle.gif
lib/mapedit/close.gif
lib/mapedit/com/apple/mrj/MRJAboutHandler.class
lib/mapedit/com/apple/mrj/MRJApplicationUtils.class
lib/mapedit/com/apple/mrj/MRJFileUtils.class
lib/mapedit/com/apple/mrj/MRJMenuUtils.class
lib/mapedit/com/apple/mrj/MRJOSType.class
lib/mapedit/com/apple/mrj/MRJOpenDocumentHandler.class
lib/mapedit/com/apple/mrj/MRJPrintDocumentHandler.class
lib/mapedit/com/apple/mrj/MRJPriv.class
lib/mapedit/com/apple/mrj/MRJQuitHandler.class
lib/mapedit/d.class
lib/mapedit/e.class
lib/mapedit/f.class
lib/mapedit/g.class
lib/mapedit/h.class
lib/mapedit/help.gif
lib/mapedit/help.txt
lib/mapedit/i.class
lib/mapedit/j.class
lib/mapedit/k.class
lib/mapedit/l.class
lib/mapedit/m.class
lib/mapedit/mapedit.gif
lib/mapedit/mapedit.orig
lib/mapedit/move.gif
lib/mapedit/n.class
lib/mapedit/o.class
lib/mapedit/open.gif
lib/mapedit/p.class
lib/mapedit/poly.gif
lib/mapedit/q.class
lib/mapedit/r.class
lib/mapedit/rect.gif
lib/mapedit/register.gif
lib/mapedit/register.html
lib/mapedit/remove.gif
lib/mapedit/s.class
lib/mapedit/save.gif
lib/mapedit/t.class
lib/mapedit/test.gif
lib/mapedit/u.class
lib/mapedit/unlock.gif
lib/mapedit/v.class
lib/mapedit/w.class
lib/mapedit/x.class
lib/mapedit/y.class
lib/mapedit/z.class
@dirrm lib/mapedit/com/apple/mrj
@dirrm lib/mapedit/com/apple
@dirrm lib/mapedit/com
@dirrm lib/mapedit

View File

@ -0,0 +1,3 @@
#! /bin/sh
perl -pi -e "s|!!LOCALBASE!!|$LOCALBASE|" ${WRKSRC}/mapedit