mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
A graphic viewer with various image types.
PR: 11423 Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
This commit is contained in:
parent
8b0f1f71a6
commit
36fb0eadfb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18554
48
graphics/jgv/Makefile
Normal file
48
graphics/jgv/Makefile
Normal file
@ -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>
|
1
graphics/jgv/distinfo
Normal file
1
graphics/jgv/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (JGV-0.2a.tar.gz) = 06233cdf34e1db488b8bb91f2ff72269
|
1
graphics/jgv/pkg-comment
Normal file
1
graphics/jgv/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A graphic viewer with various image types.
|
13
graphics/jgv/pkg-descr
Normal file
13
graphics/jgv/pkg-descr
Normal file
@ -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>
|
28
graphics/jgv/pkg-plist
Normal file
28
graphics/jgv/pkg-plist
Normal file
@ -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
|
30
graphics/jgv/scripts/post-install
Normal file
30
graphics/jgv/scripts/post-install
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user