1999-05-06 13:57:56 +00: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 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1999-05-06 13:57:56 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 09:10:33 +00:00
|
|
|
PORTNAME= jgv
|
|
|
|
PORTVERSION= 0.2a
|
2001-05-22 18:16:59 +00:00
|
|
|
CATEGORIES+= ${CATEGORY_LIST}
|
2003-05-08 07:04:38 +00:00
|
|
|
MASTER_SITES= http://www.aaa-int.or.jp/~jfactory/JDE/dist/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= . kiri
|
2000-04-13 09:10:33 +00:00
|
|
|
DISTNAME= JGV-${PORTVERSION}
|
2003-05-08 07:04:38 +00:00
|
|
|
EXTRACT_ONLY= # extracted directly in install target
|
1999-05-06 13:57:56 +00:00
|
|
|
|
2004-12-23 09:32:50 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A graphic viewer with various image types
|
1999-05-06 13:57:56 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${RUN_DEP_LIST}
|
2000-11-14 00:46:25 +00:00
|
|
|
LIB_DEPENDS= ${LIB_DEP_LIST}
|
1999-05-06 13:57:56 +00:00
|
|
|
|
2005-04-14 08:26:29 +00:00
|
|
|
CONFLICTS?= ja-jgv-[0-9]*
|
2005-02-13 22:04:55 +00:00
|
|
|
|
1999-05-06 13:57:56 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_X_PREFIX= yes
|
2003-05-08 07:04:38 +00:00
|
|
|
USE_REINPLACE= yes
|
2003-05-08 11:00:15 +00:00
|
|
|
REINPLACE_ARGS=
|
2003-05-08 07:04:38 +00:00
|
|
|
SCRIPTS_ENV= LANG=C LN=${LN} REINPLACE_CMD="${REINPLACE_CMD}" \
|
|
|
|
LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}
|
1999-05-06 13:57:56 +00:00
|
|
|
PLIST_SUB= PIXMAP_PATH=${PIXMAPPATH:S@^${PREFIX}/@@}
|
|
|
|
|
|
|
|
TKSTEPVERSION= 8.0
|
|
|
|
PIXMAPPATH?= ${PREFIX}/share/WindowMaker/Pixmaps
|
|
|
|
LANGUAGE?=
|
|
|
|
.if (${LANGUAGE} == "Japanese")
|
|
|
|
CATEGORY_LIST= graphics windowmaker tkstep80 japanese
|
1999-05-07 08:24:56 +00:00
|
|
|
RUN_DEP_LIST= ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/japanese/libimg \
|
1999-05-06 13:57:56 +00:00
|
|
|
${LOCALBASE}/lib/tkstep8.0jp/tkstep.tcl:${PORTSDIR}/japanese/tkstep80
|
|
|
|
.else
|
|
|
|
CATEGORY_LIST= graphics windowmaker tkstep80
|
2000-11-14 00:46:25 +00:00
|
|
|
LIB_DEP_LIST= img.1:${PORTSDIR}/graphics/libimg
|
|
|
|
RUN_DEP_LIST= ${LOCALBASE}/lib/tkstep8.0/tkstep.tcl:${PORTSDIR}/x11-toolkits/tkstep80
|
1999-05-06 13:57:56 +00:00
|
|
|
.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>
|