svn commit: r325698 - head/graphics/l2p
Nicola Vitale
nivit at FreeBSD.org
Fri Aug 30 14:00:25 UTC 2013
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 <nivit at email.it>
-#
# $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 at 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 <bsd.port.options.mk>
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 <bsd.port.mk>
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 <amax at redsymbol.net>
-WWW: http://www.redsymbol.net/software/l2p/
+WWW: http://www.redsymbol.net/software/l2p/
More information about the svn-ports-head
mailing list