diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/jgv/Makefile | 48 | ||||
-rw-r--r-- | graphics/jgv/distinfo | 1 | ||||
-rw-r--r-- | graphics/jgv/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/jgv/pkg-descr | 13 | ||||
-rw-r--r-- | graphics/jgv/pkg-plist | 28 | ||||
-rw-r--r-- | graphics/jgv/scripts/post-install | 30 |
6 files changed, 121 insertions, 0 deletions
diff --git a/graphics/jgv/Makefile b/graphics/jgv/Makefile new file mode 100644 index 00000000000..8743d6de960 --- /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> diff --git a/graphics/jgv/distinfo b/graphics/jgv/distinfo new file mode 100644 index 00000000000..758f88ea870 --- /dev/null +++ b/graphics/jgv/distinfo @@ -0,0 +1 @@ +MD5 (JGV-0.2a.tar.gz) = 06233cdf34e1db488b8bb91f2ff72269 diff --git a/graphics/jgv/pkg-comment b/graphics/jgv/pkg-comment new file mode 100644 index 00000000000..7c370a2a61d --- /dev/null +++ b/graphics/jgv/pkg-comment @@ -0,0 +1 @@ +A graphic viewer with various image types. diff --git a/graphics/jgv/pkg-descr b/graphics/jgv/pkg-descr new file mode 100644 index 00000000000..ffaf3597c4a --- /dev/null +++ b/graphics/jgv/pkg-descr @@ -0,0 +1,13 @@ +The new correction of J desktop enviropment has come. + +There aren't simple functions with photo retouch but with very +useful display functions which can display an animated gif, al- +pha channeled gif and alpha channeled xpm. And you can make a +choice the language between English and Japanese because it's J. +So,I think this is the best partner of gimp. + +Note that both graphics/jgv and japanese/jgv are mutually exclusive and +SHOULD NOT BE INSTALLED SIMULTANEOUSLY! + +-KIRIYAMA Kazuhiko +<kiri@pis.toba-cmt.ac.jp> diff --git a/graphics/jgv/pkg-plist b/graphics/jgv/pkg-plist new file mode 100644 index 00000000000..733e51cce33 --- /dev/null +++ b/graphics/jgv/pkg-plist @@ -0,0 +1,28 @@ +JDE/JGV/COPYING +JDE/JGV/bin/JGV.app +JDE/JGV/defaults/JGV +JDE/JGV/docs/CHANGES +JDE/JGV/docs/INSTALL.tk.en +JDE/JGV/docs/INSTALL.tk.ja +JDE/JGV/docs/JGV.xpm +JDE/JGV/docs/README.Imagemagick.en +JDE/JGV/docs/README.Imagemagick.ja +JDE/JGV/docs/README.en +JDE/JGV/docs/README.ja +JDE/JGV/icons/Pref.en.gif +JDE/JGV/icons/Pref.ja.gif +JDE/JGV/icons/logo.gif +JDE/JGV/icons/logo.xpm +JDE/JGV/install.sh +JDE/JGV/menu/menu.en +JDE/JGV/menu/menu.ja +JDE/JGV/modules/PrefJGV.m +bin/JGV.app +%%PIXMAP_PATH%%/JGV.xpm +@dirrm JDE/JGV/bin +@dirrm JDE/JGV/defaults +@dirrm JDE/JGV/docs +@dirrm JDE/JGV/icons +@dirrm JDE/JGV/menu +@dirrm JDE/JGV/modules +@dirrm JDE/JGV diff --git a/graphics/jgv/scripts/post-install b/graphics/jgv/scripts/post-install new file mode 100644 index 00000000000..a20f4d8c8bd --- /dev/null +++ b/graphics/jgv/scripts/post-install @@ -0,0 +1,30 @@ +#!/bin/sh + +installdir=${PREFIX}/JDE/JGV; export installdir + +case ${LANGUAGE} in + Japanese) + for f in JGV.app; do + ${PERL} -pi -e ' + s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/ + ' ${installdir}/bin/${f} + done + ;; + *) + ;; +esac +for f in JGV JGV.app; do + case ${f} in + JGV.app) + target=${installdir}/bin/${f} + ;; + JGV) + target=${installdir}/defaults/${f} + ;; + esac + ${PERL} -pi -e ' + s/^([ \t]*set[ \t]+Jlib[ \t]+)"[^"]*"$/$1"$ENV{installdir}"/; + ' ${target} +done + +${LN} -sf ${installdir}/bin/JGV.app ${PREFIX}/bin |