1999-05-03 06:24:19 +02:00
|
|
|
# New ports collection makefile for: tgif-nls
|
|
|
|
# Date created: 3 May 1999
|
|
|
|
# Whom: one@netlab.is.tsukuba.ac.jp
|
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1999-05-03 06:24:19 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= tgif
|
2003-11-18 15:09:52 +01:00
|
|
|
PORTVERSION= 4.1.43
|
2004-02-04 05:36:30 +01:00
|
|
|
PORTREVISION= 1
|
1999-05-03 06:24:19 +02:00
|
|
|
CATEGORIES= graphics
|
2002-05-04 21:01:43 +02:00
|
|
|
MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= tgif
|
2000-04-14 12:48:02 +02:00
|
|
|
PKGNAMESUFFIX= -nls
|
2002-05-04 21:01:43 +02:00
|
|
|
DISTNAME= ${PORTNAME}-QPL-${PORTVERSION}
|
1999-05-03 06:24:19 +02:00
|
|
|
|
|
|
|
MAINTAINER= one@netlab.is.tsukuba.ac.jp
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= A two-dimensional drawing tool with NLS message catalogs support
|
1999-05-03 06:24:19 +02:00
|
|
|
|
2000-11-03 17:35:21 +01:00
|
|
|
RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm
|
1999-05-03 06:24:19 +02:00
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
1999-05-03 06:24:19 +02:00
|
|
|
USE_IMAKE= yes
|
2003-11-18 15:09:52 +01:00
|
|
|
USE_REINPLACE= yes
|
1999-05-03 06:24:19 +02:00
|
|
|
MAN1= tgif.1
|
2000-07-10 03:35:57 +02:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-01-22 04:16:01 +01:00
|
|
|
DEMO_FILES= an-sr-flip-flop.obj launch-demo-1.obj \
|
|
|
|
fonts.obj launch-demo.obj keys.obj slide-demo.obj example.tex
|
2002-07-12 22:06:21 +02:00
|
|
|
READMES= Copyright HISTORY LICENSE.QPL README
|
2000-09-05 03:41:34 +02: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 03:35:57 +02:00
|
|
|
.endif
|
2000-01-22 04:16:01 +01:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${RM} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl
|
|
|
|
${CP} ${WRKDIR}/${DISTNAME}/Tgif.tmpl-freebsd \
|
|
|
|
${WRKDIR}/${DISTNAME}/Tgif.tmpl
|
|
|
|
|
2003-11-18 15:09:52 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|.TH tgif n|.TH tgif 1L|' \
|
|
|
|
${WRKSRC}/tgif.man
|
|
|
|
${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \
|
|
|
|
s|/usr/share/lib|${PREFIX}/share/locale|' \
|
|
|
|
${WRKSRC}/tgif.Xdefaults
|
1999-05-03 06:24:19 +02:00
|
|
|
|
|
|
|
post-install:
|
2000-07-10 03:35:57 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-11-18 15:09:52 +01:00
|
|
|
${MKDIR} ${DOCSDIR}; ${MKDIR} ${EXAMPLESDIR}
|
2000-01-22 04:16:01 +01:00
|
|
|
(cd ${WRKSRC} ;\
|
2003-11-18 15:09:52 +01:00
|
|
|
${INSTALL_DATA} ${DEMO_FILES} ${EXAMPLESDIR} ;\
|
|
|
|
${INSTALL_DATA} ${READMES} ${DOCSDIR} \
|
2000-01-22 04:16:01 +01:00
|
|
|
)
|
2003-11-18 15:09:52 +01:00
|
|
|
${MKDIR} ${EXAMPLESDIR}/spice
|
2000-09-05 03:41:34 +02:00
|
|
|
(cd ${WRKSRC}/spice ;\
|
2003-11-18 15:09:52 +01:00
|
|
|
${INSTALL_DATA} ${SPICE_FILES} ${EXAMPLESDIR}/spice \
|
2000-09-05 03:41:34 +02:00
|
|
|
)
|
2000-07-10 03:35:57 +02:00
|
|
|
.endif
|
2000-05-29 05:44:03 +02:00
|
|
|
${LN} -fs tgif ${PREFIX}/bin/tgif-nls
|
1999-05-03 06:24:19 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|