diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/l2p/Makefile | 32 | ||||
-rw-r--r-- | graphics/l2p/pkg-descr | 3 |
2 files changed, 17 insertions, 18 deletions
diff --git a/graphics/l2p/Makefile b/graphics/l2p/Makefile index b46d029fa730..fedc2b07f6d0 100644 --- a/graphics/l2p/Makefile +++ b/graphics/l2p/Makefile @@ -1,40 +1,40 @@ -# New ports collection makefile for: l2p -# Date created: 2006-03-22 -# Whom: Nicola Vitale <nivit@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@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> diff --git a/graphics/l2p/pkg-descr b/graphics/l2p/pkg-descr index c27d395b72e6..fc5cc8e0ebe7 100644 --- a/graphics/l2p/pkg-descr +++ b/graphics/l2p/pkg-descr @@ -1,4 +1,3 @@ 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/ +WWW: http://www.redsymbol.net/software/l2p/ |