summaryrefslogtreecommitdiff
path: root/graphics/jgv/Makefile
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-05-06 13:57:56 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-05-06 13:57:56 +0000
commit36fb0eadfbea340cd70fd2d8adfcfb752291f2a5 (patch)
treefc7e8c4d3e83ff83d39b14b25ee43439cd1367ed /graphics/jgv/Makefile
parentA simple compress utilty using on JDE. (for Japanese) (diff)
A graphic viewer with various image types.
PR: 11423 Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
Notes
Notes: svn path=/head/; revision=18554
Diffstat (limited to 'graphics/jgv/Makefile')
-rw-r--r--graphics/jgv/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/graphics/jgv/Makefile b/graphics/jgv/Makefile
new file mode 100644
index 000000000000..8743d6de960e
--- /dev/null
+++ b/graphics/jgv/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: JDE's JGV
+# Version required: 0.2a
+# Date created: 25 March 1999
+# Whom: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= JGV-0.2a
+PKGNAME= ${LANGPREFIX}jgv-0.2a
+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 graphics/jgv and japanese/jgv.
+# But graphics/jgv and japanese/jgv 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= graphics windowmaker tkstep80 japanese
+RUN_DEP_LIST= ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/japanese/img \
+ ${LOCALBASE}/lib/tkstep8.0jp/tkstep.tcl:${PORTSDIR}/japanese/tkstep80
+.else
+CATEGORY_LIST= graphics windowmaker tkstep80
+RUN_DEP_LIST= ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/graphics/img \
+ ${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/JGV/docs/JGV.xpm ${PIXMAPPATH}
+
+.include <bsd.port.mk>