Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2013 22:15:07 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        nivit@FreeBSD.org
Subject:   ports/177286: [PATCH] graphics/l2p: Convert to OptionsNG, fix Master sites
Message-ID:  <20130322211511.D5EA047F@hub.freebsd.org>
Resent-Message-ID: <201303222120.r2MLK0Qt053696@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177286
>Category:       ports
>Synopsis:       [PATCH] graphics/l2p: Convert to OptionsNG, fix Master sites
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 22 21:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:

- Convert to OptionsNG
- Fix Master sites

Port maintainer (nivit@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- l2p-1.1.1_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/l2p/Makefile ./Makefile
--- /usr/ports/graphics/l2p/Makefile	2013-01-14 17:57:09.000000000 +0100
+++ ./Makefile	2013-03-22 22:05:11.000000000 +0100
@@ -1,16 +1,11 @@
-# New ports collection makefile for:	l2p
-# Date created:		2006-03-22
-# Whom:			Nicola Vitale	<nivit@email.it>
-#
+# Created by: Nicola Vitale <nivit@email.it>
 # $FreeBSD: head/graphics/l2p/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 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/
 
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	Create PNG images from LaTeX math expressions
@@ -28,14 +23,16 @@
 PLIST_FILES=	bin/l2p
 PORTDOCS=	l2p.txt l2p.html
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e '1s|.*|#!${PERL} -w|' ${WRKSRC}/${PORTNAME}
 
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/graphics/l2p/pkg-descr ./pkg-descr
--- /usr/ports/graphics/l2p/pkg-descr	2013-01-14 17:57:09.000000000 +0100
+++ ./pkg-descr	2013-03-22 21:51:45.000000000 +0100
@@ -1,4 +1,4 @@
 A command-line program to create PNG images from LaTeX math expressions.
 
-Author:	Aaron Maxwell <amax@redsymbol.net>
-WWW:	http://www.redsymbol.net/software/l2p/
+Author: Aaron Maxwell <amax@redsymbol.net>
+WWW: http://www.redsymbol.net/software/l2p/
--- l2p-1.1.1_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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