1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/print/tgif2tex/Makefile
Satoshi Taoka 0cd8e7166c Update the version to 2.12
Update MASTER_SITES
2003-09-06 16:44:18 +00:00

38 lines
939 B
Makefile

# New ports collection makefile for: tgif2tex
# Date created: 12 Mar 1998
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tgif2tex
PORTVERSION= 2.12
CATEGORIES+= print
MASTER_SITES= http://www.fse.hiroshima-u.ac.jp/~nakano/tgif2tex/
MAINTAINER= taoka@FreeBSD.org
COMMENT?= Converting texts in figure by tgif to LaTeX commands
USE_PERL5= yes
PORTSDOCDIR?= ${PREFIX}/share/doc/tgif2tex
DOCSRC+= example.obj \
example.tex
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} ${PORTSDOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCSRC} ${PORTSDOCDIR};
${INSTALL_DATA} ${FILESDIR}/00readme ${PORTSDOCDIR}
.endif
.include <bsd.port.mk>