summaryrefslogtreecommitdiff
path: root/archivers/deepforest
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-05-06 13:53:30 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-05-06 13:53:30 +0000
commite65ad72021cd7df6c0be1ca724060b88340f405b (patch)
tree4029be45897c49ce91d49c820246889b4e030e9d /archivers/deepforest
parentUpdate to version 1.3 (diff)
A simple compress utilty using on JDE.
PR: 11423 Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
Notes
Notes: svn path=/head/; revision=18552
Diffstat (limited to 'archivers/deepforest')
-rw-r--r--archivers/deepforest/Makefile48
-rw-r--r--archivers/deepforest/distinfo1
-rw-r--r--archivers/deepforest/pkg-comment1
-rw-r--r--archivers/deepforest/pkg-descr7
-rw-r--r--archivers/deepforest/pkg-plist16
-rw-r--r--archivers/deepforest/scripts/post-install15
6 files changed, 88 insertions, 0 deletions
diff --git a/archivers/deepforest/Makefile b/archivers/deepforest/Makefile
new file mode 100644
index 000000000000..edfe0706f974
--- /dev/null
+++ b/archivers/deepforest/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: JDE's DeepForest
+# Version required: 1.0a
+# Date created: 25 March 1999
+# Whom: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= DeepForest-1.0a
+PKGNAME= ${LANGPREFIX}deepforest-1.0a
+CATEGORIES= ${CATEGORY_LIST}
+MASTER_SITES= http://www.aaa-int.or.jp/~jfactory/JDE/dist/
+
+MAINTAINER= kiri@pis.toba-cmt.ac.jp
+
+RUN_DEPENDS= ${RUN_DEP_LIST}
+
+EXTRACT_ONLY= # extracted directly in install target
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+USE_X_PREFIX= yes
+SCRIPTS_ENV= LANG=C LN=${LN} PERL=${PERL} LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}
+PLIST_SUB= PIXMAP_PATH=${PIXMAPPATH:S@^${PREFIX}/@@}
+
+# This port is for both converters/deepforest and japanese/deepforest.
+# But converters/deepforest and japanese/deepforest are mutually exclusive and
+# SHOULD NOT BE INSTALLED SIMULTANEOUSLY!
+TKSTEPVERSION= 8.0
+PIXMAPPATH?= ${PREFIX}/share/WindowMaker/Pixmaps
+LANGUAGE?=
+.if (${LANGUAGE} == "Japanese")
+LANGPREFIX= ja-
+CATEGORY_LIST= archivers windowmaker tkstep80 japanese
+RUN_DEP_LIST= ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/japanese/libimg \
+ ${LOCALBASE}/lib/tkstep8.0jp/tkstep.tcl:${PORTSDIR}/japanese/tkstep80
+.else
+CATEGORY_LIST= converters windowmaker tkstep80
+RUN_DEP_LIST= ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/graphics/libimg \
+ ${LOCALBASE}/share/tkstep8.0/tkstep.tcl:${PORTSDIR}/x11-toolkits/tkstep80
+.endif
+
+do-install:
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTNAME}.tar.gz \
+ ${EXTRACT_AFTER_ARGS} -C ${PREFIX}
+ ${MKDIR} ${PIXMAPPATH}
+ ${INSTALL_DATA} ${PREFIX}/JDE/DeepForest/docs/DeepForest.xpm ${PIXMAPPATH}
+
+.include <bsd.port.mk>
diff --git a/archivers/deepforest/distinfo b/archivers/deepforest/distinfo
new file mode 100644
index 000000000000..7a976e9022b7
--- /dev/null
+++ b/archivers/deepforest/distinfo
@@ -0,0 +1 @@
+MD5 (DeepForest-1.0a.tar.gz) = bc52fb5b72c2889845e62bd49c1367b9
diff --git a/archivers/deepforest/pkg-comment b/archivers/deepforest/pkg-comment
new file mode 100644
index 000000000000..4e38f558b850
--- /dev/null
+++ b/archivers/deepforest/pkg-comment
@@ -0,0 +1 @@
+A simple compress utilty using on JDE.
diff --git a/archivers/deepforest/pkg-descr b/archivers/deepforest/pkg-descr
new file mode 100644
index 000000000000..d6ab6301b3f6
--- /dev/null
+++ b/archivers/deepforest/pkg-descr
@@ -0,0 +1,7 @@
+The "Deep Forest" is a simple compress utilty.
+
+Note that both converters/deepforest and japanese/deepforest are mutually
+exclusive and SHOULD NOT BE INSTALLED SIMULTANEOUSLY!
+
+-KIRIYAMA Kazuhiko
+<kiri@pis.toba-cmt.ac.jp>
diff --git a/archivers/deepforest/pkg-plist b/archivers/deepforest/pkg-plist
new file mode 100644
index 000000000000..f72ddaf5b7bf
--- /dev/null
+++ b/archivers/deepforest/pkg-plist
@@ -0,0 +1,16 @@
+JDE/DeepForest/DeepForest.app
+JDE/DeepForest/docs/COPYING
+JDE/DeepForest/docs/DeepForest.xpm
+JDE/DeepForest/docs/English/INSTALL.tk.en
+JDE/DeepForest/docs/English/README.en
+JDE/DeepForest/docs/Japanese/INSTALL.tk.ja
+JDE/DeepForest/docs/Japanese/INSTALL.tk.sjis
+JDE/DeepForest/docs/Japanese/README.ja
+JDE/DeepForest/docs/Japanese/README.sjis
+JDE/DeepForest/install.sh
+bin/DeepForest.app
+%%PIXMAP_PATH%%/DeepForest.xpm
+@dirrm JDE/DeepForest/docs/English
+@dirrm JDE/DeepForest/docs/Japanese
+@dirrm JDE/DeepForest/docs
+@dirrm JDE/DeepForest
diff --git a/archivers/deepforest/scripts/post-install b/archivers/deepforest/scripts/post-install
new file mode 100644
index 000000000000..aa14facb24c5
--- /dev/null
+++ b/archivers/deepforest/scripts/post-install
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+case ${LANGUAGE} in
+ Japanese)
+ for f in DeepForest.app; do
+ ${PERL} -pi -e '
+ s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/
+ ' ${PREFIX}/JDE/DeepForest/${f}
+ done
+ ;;
+ *)
+ ;;
+esac
+
+${LN} -sf ${PREFIX}/JDE/DeepForest/DeepForest.app ${PREFIX}/bin