1999-05-06 09:57:56 -04:00
|
|
|
# New ports collection makefile for: JDE's JGV
|
|
|
|
# Date created: 25 March 1999
|
|
|
|
# Whom: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
|
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1999-05-06 09:57:56 -04:00
|
|
|
#
|
|
|
|
|
2000-04-13 05:10:33 -04:00
|
|
|
PORTNAME= jgv
|
|
|
|
PORTVERSION= 0.2a
|
1999-05-06 09:57:56 -04:00
|
|
|
CATEGORIES= ${CATEGORY_LIST}
|
|
|
|
MASTER_SITES= http://www.aaa-int.or.jp/~jfactory/JDE/dist/
|
2000-04-13 05:10:33 -04:00
|
|
|
DISTNAME= JGV-${PORTVERSION}
|
1999-05-06 09:57:56 -04:00
|
|
|
|
|
|
|
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")
|
|
|
|
CATEGORY_LIST= graphics windowmaker tkstep80 japanese
|
1999-05-07 04:24:56 -04:00
|
|
|
RUN_DEP_LIST= ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/japanese/libimg \
|
1999-05-06 09:57:56 -04:00
|
|
|
${LOCALBASE}/lib/tkstep8.0jp/tkstep.tcl:${PORTSDIR}/japanese/tkstep80
|
|
|
|
.else
|
|
|
|
CATEGORY_LIST= graphics windowmaker tkstep80
|
1999-05-07 04:24:56 -04:00
|
|
|
RUN_DEP_LIST= ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/graphics/libimg \
|
1999-05-06 09:57:56 -04:00
|
|
|
${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>
|