aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/mapedit/Makefile21
-rw-r--r--www/mapedit/distinfo2
-rw-r--r--www/mapedit/files/patch-aa24
-rw-r--r--www/mapedit/pkg-descr2
-rw-r--r--www/mapedit/pkg-plist63
-rw-r--r--www/mapedit/scripts/post-patch3
6 files changed, 99 insertions, 16 deletions
diff --git a/www/mapedit/Makefile b/www/mapedit/Makefile
index 388a91cb242e..eb180639dbbf 100644
--- a/www/mapedit/Makefile
+++ b/www/mapedit/Makefile
@@ -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>
diff --git a/www/mapedit/distinfo b/www/mapedit/distinfo
index dcda3dbf3f98..b45d4e1ba028 100644
--- a/www/mapedit/distinfo
+++ b/www/mapedit/distinfo
@@ -1 +1 @@
-MD5 (mapedit2.24.freebsd.tar.Z) = 93ed7e052bf1378d4ea0edfc5f014608
+MD5 (mapedit2.3.tar.gz) = eb1a39f49b84df0b820181d366bdf874
diff --git a/www/mapedit/files/patch-aa b/www/mapedit/files/patch-aa
new file mode 100644
index 000000000000..cfbff9babe7f
--- /dev/null
+++ b/www/mapedit/files/patch-aa
@@ -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
+-
diff --git a/www/mapedit/pkg-descr b/www/mapedit/pkg-descr
index 6c8dbbf35216..682296fa2fc7 100644
--- a/www/mapedit/pkg-descr
+++ b/www/mapedit/pkg-descr
@@ -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
diff --git a/www/mapedit/pkg-plist b/www/mapedit/pkg-plist
index a8bc7ce6127f..8297d76f8207 100644
--- a/www/mapedit/pkg-plist
+++ b/www/mapedit/pkg-plist
@@ -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
diff --git a/www/mapedit/scripts/post-patch b/www/mapedit/scripts/post-patch
new file mode 100644
index 000000000000..2dc1eb1125e4
--- /dev/null
+++ b/www/mapedit/scripts/post-patch
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+perl -pi -e "s|!!LOCALBASE!!|$LOCALBASE|" ${WRKSRC}/mapedit