svn commit: r317151 - head/print/tgif2tex
Hiroki Sato
hrs at FreeBSD.org
Thu May 2 21:20:23 UTC 2013
Author: hrs
Date: Thu May 2 21:20:22 2013
New Revision: 317151
URL: http://svnweb.freebsd.org/changeset/ports/317151
Log:
- Trim old-style header.
- Add LICENSE.
- Use OPTIONS_DEFINE.
Modified:
head/print/tgif2tex/Makefile
head/print/tgif2tex/pkg-descr
Modified: head/print/tgif2tex/Makefile
==============================================================================
--- head/print/tgif2tex/Makefile Thu May 2 21:14:26 2013 (r317150)
+++ head/print/tgif2tex/Makefile Thu May 2 21:20:22 2013 (r317151)
@@ -1,21 +1,18 @@
-# New ports collection makefile for: tgif2tex
-# Date created: 12 Mar 1998
-# Whom: Satoshi TAOKA <taoka at FreeBSD.org>
-#
+# Created by: Satoshi TAOKA <taoka at 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 at 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
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
Modified: head/print/tgif2tex/pkg-descr
==============================================================================
--- head/print/tgif2tex/pkg-descr Thu May 2 21:14:26 2013 (r317150)
+++ head/print/tgif2tex/pkg-descr Thu May 2 21:20:22 2013 (r317151)
@@ -3,4 +3,4 @@ extracts strings and their positions fro
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/
More information about the svn-ports-head
mailing list