1999-05-03 04:24:19 +00:00
|
|
|
# New ports collection makefile for: tgif-nls
|
2000-01-22 03:16:01 +00:00
|
|
|
# Version required: 4.1.26
|
1999-05-03 04:24:19 +00:00
|
|
|
# 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-01-22 03:16:01 +00:00
|
|
|
DISTNAME= tgif-4.1.26
|
|
|
|
PKGNAME= tgif-nls-4.1.26
|
1999-05-03 04:24:19 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://bourbon.cs.umd.edu/pub/tgif/ \
|
|
|
|
ftp://ftp.cs.ucla.edu/pub/tgif/
|
|
|
|
|
|
|
|
MAINTAINER= one@netlab.is.tsukuba.ac.jp
|
|
|
|
|
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
2000-01-22 03:16:01 +00:00
|
|
|
RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \
|
|
|
|
pnmtopng:${PORTSDIR}/graphics/pnmtopng
|
1999-05-03 04:24:19 +00:00
|
|
|
|
|
|
|
USE_IMAKE= yes
|
1999-06-06 16:32:46 +00:00
|
|
|
XMKMF= LOCALBASE=${LOCALBASE} xmkmf -a
|
1999-05-03 04:24:19 +00:00
|
|
|
MAN1= tgif.1
|
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
|
|
|
|
|
|
|
|
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#" \
|
|
|
|
tgif.Xdefaults.org > tgif.Xdefaults ;\
|
|
|
|
)
|
1999-05-03 04:24:19 +00:00
|
|
|
|
|
|
|
post-install:
|
2000-01-22 03:16:01 +00:00
|
|
|
${MKDIR} ${TGIFDOC}; ${MKDIR} ${TGIFDEMO}
|
|
|
|
(cd ${WRKSRC} ;\
|
|
|
|
${INSTALL_DATA} ${DEMO_FILES} ${TGIFDEMO} ;\
|
|
|
|
${INSTALL_DATA} ${READMES} ${TGIFDOC} ;\
|
|
|
|
)
|
|
|
|
(cd ${PREFIX}/bin; ${RM} -f tgif-nls; ${LN} -s tgif tgif-nls )
|
1999-05-03 04:24:19 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|