From owner-svn-ports-head@FreeBSD.ORG Fri Aug 30 14:00:25 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 08D5220A; Fri, 30 Aug 2013 14:00:25 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D0B1C274C; Fri, 30 Aug 2013 14:00:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7UE0OPX067695; Fri, 30 Aug 2013 14:00:24 GMT (envelope-from nivit@svn.freebsd.org) Received: (from nivit@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7UE0OAl067693; Fri, 30 Aug 2013 14:00:24 GMT (envelope-from nivit@svn.freebsd.org) Message-Id: <201308301400.r7UE0OAl067693@svn.freebsd.org> From: Nicola Vitale Date: Fri, 30 Aug 2013 14:00:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325698 - head/graphics/l2p 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: Fri, 30 Aug 2013 14:00:25 -0000 Author: nivit Date: Fri Aug 30 14:00:24 2013 New Revision: 325698 URL: http://svnweb.freebsd.org/changeset/ports/325698 Log: - Trim Makefile header [1] - Fix MASTER_SITES [1] - Convert to new options framework [1] - Use the new Uses/(perl5|shebang).mk facilities - Fix WWW entry in pkg-descr [1] PR: ports/177286 [1] Submitted by: nemysis Modified: head/graphics/l2p/Makefile (contents, props changed) head/graphics/l2p/pkg-descr (contents, props changed) Modified: head/graphics/l2p/Makefile ============================================================================== --- head/graphics/l2p/Makefile Fri Aug 30 13:52:43 2013 (r325697) +++ head/graphics/l2p/Makefile Fri Aug 30 14:00:24 2013 (r325698) @@ -1,40 +1,40 @@ -# New ports collection makefile for: l2p -# Date created: 2006-03-22 -# Whom: Nicola Vitale -# # $FreeBSD$ -# PORTNAME= l2p PORTVERSION= 1.1.1 PORTREVISION= 3 CATEGORIES= graphics print perl5 -MASTER_SITES= http://www.redsymbol.net/software/l2p/dist/ \ - http://nivi.interfree.it/distfiles/${PORTNAME}/ +MASTER_SITES= http://static.redsymbol.net/software/l2p/dist/ \ + http://nivit.altervista.org/FreeBSD/ports/distfiles/ MAINTAINER= nivit@FreeBSD.org COMMENT= Create PNG images from LaTeX math expressions RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick -USE_PERL5_RUN= yes -USE_ZIP= yes -USE_TEX= latex dvipsk NO_BUILD= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +OPTIONS_DEFINE= DOCS PLIST_FILES= bin/l2p PORTDOCS= l2p.txt l2p.html -post-patch: - @${REINPLACE_CMD} -e '1s|.*|#!${PERL} -w|' ${WRKSRC}/${PORTNAME} +SHEBANG_FILES= ${WRKSRC}/${PORTNAME} + +USE_PERL5= run +USE_TEX= latex dvipsk +USE_ZIP= yes +USES= perl5 shebangfix + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +.include do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -.if !defined(NOPORTDOCS) + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include Modified: head/graphics/l2p/pkg-descr ============================================================================== --- head/graphics/l2p/pkg-descr Fri Aug 30 13:52:43 2013 (r325697) +++ head/graphics/l2p/pkg-descr Fri Aug 30 14:00:24 2013 (r325698) @@ -1,4 +1,3 @@ A command-line program to create PNG images from LaTeX math expressions. -Author: Aaron Maxwell -WWW: http://www.redsymbol.net/software/l2p/ +WWW: http://www.redsymbol.net/software/l2p/