Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2013 21:20:23 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317151 - head/print/tgif2tex
Message-ID:  <201305022120.r42LKNWC030009@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 
 		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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305022120.r42LKNWC030009>