1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/print/tgif2tex/Makefile
Hiroki Sato d84780de79 Update to 2.13. The sample files and documentation are now installed
into $DOCSDIR.  Take the maintainership.

PR:		ports/61928
Approved by:	maintainer timeout (3 months)
Approved by:	linimon (mentor)
2004-05-05 10:41:40 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: tgif2tex
# Date created: 12 Mar 1998
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tgif2tex
PORTVERSION= 2.13
CATEGORIES+= print
MASTER_SITES= http://www.fse.hiroshima-u.ac.jp/~nakano/tgif2tex/
MAINTAINER= hrs@FreeBSD.org
COMMENT= Converting texts in figure by tgif to LaTeX commands
USE_PERL5= yes
DOCSRC= how-to-use.aux how-to-use.dvi \
how-to-use.log how-to-use.ps how-to-use.tex \
example.obj example.tex \
original.dps original.tps \
pythagoras.dps pythagoras.tps \
sample1.obj sample1.ps \
sample2.1.dps sample2.1.tps \
sample2.2.dps sample2.2.tps \
sample2.3.dps sample2.3.tps \
sample2.aux sample2.dvi sample2.log \
sample2.tex sample2.obj sample2.ps
do-build:
@cd ${WRKSRC}; ${MV} tgif2tex tgif2tex.org; \
${SED} -e 's,/usr/local/X11R6/bin/tgif,${X11BASE}/bin/tgif,' \
-e 's;^#! */usr/bin/perl *;#!${PERL5};' \
-e 's,/usr/local,${PREFIX},' \
tgif2tex.org > tgif2tex
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${PREFIX}/bin/tgif2tex
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCSRC} ${DOCSDIR};
${INSTALL_DATA} ${FILESDIR}/00readme ${DOCSDIR}
.endif
.include <bsd.port.mk>