mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: Satoshi TAOKA <taoka@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tgif2tex
|
|
PORTVERSION= 2.13
|
|
PORTREVISION= 4
|
|
CATEGORIES+= print
|
|
MASTER_SITES= http://www.cs.hiroshima-u.ac.jp/~nakano/tgif2tex/
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Converting texts in figure by tgif to LaTeX commands
|
|
|
|
LICENSE= GPLv2
|
|
|
|
PLIST_FILES= bin/tgif2tex
|
|
PORTDOCS= how-to-use.dvi 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.dvi sample2.tex sample2.obj sample2.ps
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES= perl5
|
|
USE_PERL5= run
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-build:
|
|
${REINPLACE_CMD} \
|
|
-e "s,%%LOCALBASE%%,${LOCALBASE}," \
|
|
-e "s,^#!/usr/bin/perl,#!${PERL}," \
|
|
${WRKSRC}/tgif2tex
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${PREFIX}/bin/tgif2tex
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|