From owner-svn-ports-head@FreeBSD.ORG Thu May 2 21:20:23 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 97545A60; Thu, 2 May 2013 21:20:23 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 70543164A; Thu, 2 May 2013 21:20:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r42LKNF7030011; Thu, 2 May 2013 21:20:23 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r42LKNWC030009; Thu, 2 May 2013 21:20:23 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201305022120.r42LKNWC030009@svn.freebsd.org> From: Hiroki Sato Date: Thu, 2 May 2013 21:20:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317151 - head/print/tgif2tex X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2013 21:20:23 -0000 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 -# +# Created by: Satoshi TAOKA # $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 + 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/