1999-05-03 04:24:19 +00:00
|
|
|
# New ports collection makefile for: tgif-nls
|
|
|
|
# Date created: 3 May 1999
|
|
|
|
# Whom: one@netlab.is.tsukuba.ac.jp
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1999-05-03 04:24:19 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 10:48:02 +00:00
|
|
|
PORTNAME= tgif
|
2000-11-27 12:57:02 +00:00
|
|
|
PORTVERSION= 4.1.40
|
1999-05-03 04:24:19 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://bourbon.cs.umd.edu/pub/tgif/ \
|
2000-09-05 01:41:34 +00:00
|
|
|
ftp://ftp.cs.ucla.edu/pub/tgif/ \
|
|
|
|
ftp://download.sourceforge.net/tgif/
|
2000-04-14 10:48:02 +00:00
|
|
|
PKGNAMESUFFIX= -nls
|
1999-05-03 04:24:19 +00:00
|
|
|
|
|
|
|
MAINTAINER= one@netlab.is.tsukuba.ac.jp
|
|
|
|
|
2000-07-10 01:35:57 +00:00
|
|
|
BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
|
1999-05-03 04:24:19 +00:00
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
2000-11-03 16:35:21 +00:00
|
|
|
RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm
|
1999-05-03 04:24:19 +00:00
|
|
|
|
|
|
|
USE_IMAKE= yes
|
|
|
|
MAN1= tgif.1
|
2000-07-10 01:35:57 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-01-22 03:16:01 +00:00
|
|
|
TGIFDOC= ${PREFIX}/share/doc/tgif
|
|
|
|
TGIFDEMO= ${PREFIX}/share/examples/tgif
|
|
|
|
DEMO_FILES= an-sr-flip-flop.obj launch-demo-1.obj \
|
|
|
|
fonts.obj launch-demo.obj keys.obj slide-demo.obj example.tex
|
|
|
|
READMES= Copyright HISTORY README
|
2000-09-05 01:41:34 +00:00
|
|
|
SPICE_FILES= README BZ.mod DN.mod DN.sym MN.mod MN.sym MP.mod MP.sym \
|
|
|
|
SN.mod SN.sym SP.mod SP.sym capacitor.sym connection.sym \
|
|
|
|
demo.obj gauge.sym ground.sym in.sym out.sym port.sym \
|
|
|
|
resistor.0tc.sym resistor.2tc.sym resistor.h.2tc.sym \
|
|
|
|
resistor.h.sym resistor.sym
|
2000-07-10 01:35:57 +00:00
|
|
|
.endif
|
2000-01-22 03:16:01 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${RM} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl
|
|
|
|
${CP} ${WRKDIR}/${DISTNAME}/Tgif.tmpl-freebsd \
|
|
|
|
${WRKDIR}/${DISTNAME}/Tgif.tmpl
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
(cd ${WRKSRC} ;\
|
|
|
|
${MV} tgif.Xdefaults tgif.Xdefaults.org; \
|
|
|
|
${SED} -e "s#/usr/local#${PREFIX}#" \
|
|
|
|
-e "s#/usr/share/lib#${PREFIX}/share/locale#" \
|
2000-11-27 12:57:02 +00:00
|
|
|
tgif.Xdefaults.org > tgif.Xdefaults \
|
2000-01-22 03:16:01 +00:00
|
|
|
)
|
1999-05-03 04:24:19 +00:00
|
|
|
|
|
|
|
post-install:
|
2000-07-10 01:35:57 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-01-22 03:16:01 +00:00
|
|
|
${MKDIR} ${TGIFDOC}; ${MKDIR} ${TGIFDEMO}
|
|
|
|
(cd ${WRKSRC} ;\
|
|
|
|
${INSTALL_DATA} ${DEMO_FILES} ${TGIFDEMO} ;\
|
2000-11-27 12:57:02 +00:00
|
|
|
${INSTALL_DATA} ${READMES} ${TGIFDOC} \
|
2000-01-22 03:16:01 +00:00
|
|
|
)
|
2000-09-05 01:41:34 +00:00
|
|
|
${MKDIR} ${TGIFDEMO}/spice
|
|
|
|
(cd ${WRKSRC}/spice ;\
|
|
|
|
${INSTALL_DATA} ${SPICE_FILES} ${TGIFDEMO}/spice \
|
|
|
|
)
|
2000-07-10 01:35:57 +00:00
|
|
|
.endif
|
2000-05-29 03:44:03 +00:00
|
|
|
${LN} -fs tgif ${PREFIX}/bin/tgif-nls
|
1999-05-03 04:24:19 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|