1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/graphics/tgif-nls/Makefile
Chris Piazza 949e9af83e Update to ver 4.1.26
PR:		16241
Submitted by:	maintainer
2000-01-22 03:16:01 +00:00

52 lines
1.4 KiB
Makefile

# New ports collection makefile for: tgif-nls
# Version required: 4.1.26
# Date created: 3 May 1999
# Whom: one@netlab.is.tsukuba.ac.jp
#
# $FreeBSD$
#
DISTNAME= tgif-4.1.26
PKGNAME= tgif-nls-4.1.26
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
RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \
pnmtopng:${PORTSDIR}/graphics/pnmtopng
USE_IMAKE= yes
XMKMF= LOCALBASE=${LOCALBASE} xmkmf -a
MAN1= tgif.1
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 ;\
)
post-install:
${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 )
.include <bsd.port.mk>