diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-05-02 21:20:22 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-05-02 21:20:22 +0000 |
commit | b81661e51ec2d3ffd311939ba352ad7719e22b04 (patch) | |
tree | 2f5581bc75e6814f967626f34f0752f28472e874 /print/tgif2tex | |
parent | 8d99ef281e17ec6a631d7e56038b2788ca90228d (diff) |
- Trim old-style header.
- Add LICENSE.
- Use OPTIONS_DEFINE.
Notes
Notes:
svn path=/head/; revision=317151
Diffstat (limited to 'print/tgif2tex')
-rw-r--r-- | print/tgif2tex/Makefile | 17 | ||||
-rw-r--r-- | print/tgif2tex/pkg-descr | 2 |
2 files changed, 10 insertions, 9 deletions
diff --git a/print/tgif2tex/Makefile b/print/tgif2tex/Makefile index 88cc54bff153..547253e34e9a 100644 --- a/print/tgif2tex/Makefile +++ b/print/tgif2tex/Makefile @@ -1,21 +1,18 @@ -# New ports collection makefile for: tgif2tex -# Date created: 12 Mar 1998 -# Whom: Satoshi TAOKA <taoka@FreeBSD.org> -# +# Created by: Satoshi TAOKA <taoka@FreeBSD.org> # $FreeBSD$ -# PORTNAME= tgif2tex PORTVERSION= 2.13 -PORTREVISION= 3 +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 -USE_PERL5_RUN= yes +LICENSE= GPLv2 +USE_PERL5_RUN= yes PLIST_FILES= bin/tgif2tex PORTDOCS= how-to-use.dvi how-to-use.ps how-to-use.tex \ example.obj example.tex \ @@ -27,6 +24,10 @@ PORTDOCS= how-to-use.dvi how-to-use.ps how-to-use.tex \ sample2.3.dps sample2.3.tps \ sample2.dvi sample2.tex sample2.obj sample2.ps +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-build: ${REINPLACE_CMD} \ -e "s,%%LOCALBASE%%,${LOCALBASE}," \ @@ -35,7 +36,7 @@ do-build: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${PREFIX}/bin/tgif2tex -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif diff --git a/print/tgif2tex/pkg-descr b/print/tgif2tex/pkg-descr index ef45eeb55f4f..90f9a7bcbf99 100644 --- a/print/tgif2tex/pkg-descr +++ b/print/tgif2tex/pkg-descr @@ -3,4 +3,4 @@ extracts strings and their positions from the figure and converts it in picture environment of the LaTeX. It also converts other components of the figure such as lines, circles, ovals, etc into EPS. -WWW: http://www.cs.hiroshima-u.ac.jp/~nakano/tgif2tex/ +WWW: http://www.cs.hiroshima-u.ac.jp/~nakano/tgif2tex/ |