diff options
author | nivit <nivit@FreeBSD.org> | 2010-09-24 05:38:28 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2010-09-24 05:38:28 +0800 |
commit | 963325f2b45393bfc2b53e54513d606915064619 (patch) | |
tree | 8f9103a6327b76d3e854fa225c3530e501bb5a24 /print/easylatex | |
parent | 3b7b472d29c274f974e980d1b6dc3a45a45c2eaf (diff) | |
download | freebsd-ports-gnome-963325f2b45393bfc2b53e54513d606915064619.tar.gz freebsd-ports-gnome-963325f2b45393bfc2b53e54513d606915064619.tar.zst freebsd-ports-gnome-963325f2b45393bfc2b53e54513d606915064619.zip |
- Update to 0.080
- Add devel/p5-Getopt-Declare to RUN_DEPENDS
- Remove graphics/graphviz from RUN_DEPENDS
- Use ${COPYTREE_SHARE} to install documentation
Diffstat (limited to 'print/easylatex')
-rw-r--r-- | print/easylatex/Makefile | 26 | ||||
-rw-r--r-- | print/easylatex/distinfo | 6 | ||||
-rw-r--r-- | print/easylatex/pkg-plist | 26 |
3 files changed, 34 insertions, 24 deletions
diff --git a/print/easylatex/Makefile b/print/easylatex/Makefile index 0e1b22c8f6dd..b665f0f93829 100644 --- a/print/easylatex/Makefile +++ b/print/easylatex/Makefile @@ -6,23 +6,20 @@ # PORTNAME= easylatex -PORTVERSION= 0.062 -PORTREVISION= 4 +PORTVERSION= 0.080 +PORTREVISION= 0 CATEGORIES= print textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} +DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//} MAINTAINER= nivit@FreeBSD.org COMMENT= Perl script which transforms "pseudo-LaTeX" into proper LaTeX -RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz -PERL_RUN_DEPENDS= Getopt-Declare:${PORTSDIR}/devel/p5-Getopt-Declare +RUN_DEPENDS= ${SITE_PERL}/${SITE_ARCH}/Getopt/Declare.pm:${PORTSDIR}/devel/p5-Getopt-Declare NO_BUILD= yes USE_PERL5= yes -FIND_DIRS= . -PORTDOCS= TUTORIAL demo.txt demo-no-graph.txt - post-patch: @${REINPLACE_CMD} -e 's,/usr/lib/easylatex,${DATADIR},' \ ${WRKSRC}/${PORTNAME}.pl @@ -30,15 +27,16 @@ post-patch: do-install: # script/data ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} - cd ${WRKSRC}/${PORTNAME} && ${FIND} ${FIND_DIRS} -type d -exec ${MKDIR} ${DATADIR}/{} \; - cd ${WRKSRC}/${PORTNAME} && ${FIND} ${FIND_DIRS} -type f -name "*.pl" -exec ${INSTALL_SCRIPT} {} ${DATADIR}/{} \; - cd ${WRKSRC}/${PORTNAME} && ${FIND} ${FIND_DIRS} -type f -name "*.txt" -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; -# docs + @${MKDIR} ${DATADIR} + cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_SHARE} . ${DATADIR} +# docs, examples .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -. endfor + ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/demo.txt ${WRKSRC}/demo-no-graph.txt ${EXAMPLESDIR} .endif .include <bsd.port.mk> diff --git a/print/easylatex/distinfo b/print/easylatex/distinfo index 747ed9f0d40f..3405cdf8d647 100644 --- a/print/easylatex/distinfo +++ b/print/easylatex/distinfo @@ -1,3 +1,3 @@ -MD5 (easylatex-0.062.tar.gz) = a503c2a4bde7a98def3f7aff94f03036 -SHA256 (easylatex-0.062.tar.gz) = 0abd896bc878eb9d4c1fcf1ac9a0916e5b6f32c2d058670823056dbbcb0ece3e -SIZE (easylatex-0.062.tar.gz) = 184469 +MD5 (easylatex-0.08.tar.gz) = b1b076fdabe42c29411ab61e6b5ae39d +SHA256 (easylatex-0.08.tar.gz) = f5b192de89dfa58ae79ab3289a1c6f4ef418655775fa7a5756bf074136831476 +SIZE (easylatex-0.08.tar.gz) = 186042 diff --git a/print/easylatex/pkg-plist b/print/easylatex/pkg-plist index 3a10d1c2ff9d..d10d3e4ea3ca 100644 --- a/print/easylatex/pkg-plist +++ b/print/easylatex/pkg-plist @@ -1,32 +1,44 @@ @comment $FreeBSD$ bin/easylatex +%%PORTDOCS%%%%DOCSDIR%%/TUTORIAL %%DATADIR%%/disabled/30autoAlignEquationsOutsideOfMathMode.pl %%DATADIR%%/embed_transforms/25scriptedMatrix.pl %%DATADIR%%/math_mode_symbol_list.txt +%%DATADIR%%/transforms/04seminarEnvAddSlide.pl +%%DATADIR%%/transforms/05comment.pl +%%DATADIR%%/transforms/05easyFigures.pl +%%DATADIR%%/transforms/05wiki.pl +%%DATADIR%%/transforms/10escapeSpecialChars.pl %%DATADIR%%/transforms/20escapeInsideGraphs.pl %%DATADIR%%/transforms/25autoLinefeedInMathMode.pl -%%DATADIR%%/transforms/25wiki.pl %%DATADIR%%/transforms/30autoFractions.pl %%DATADIR%%/transforms/30dotsToLdots.pl %%DATADIR%%/transforms/30superSubscripts.pl +%%DATADIR%%/transforms/69easyMatrices.pl %%DATADIR%%/transforms/70autoMathMode.pl -%%DATADIR%%/transforms/80autoAlignEquations.pl %%DATADIR%%/transforms/80autoItemize.pl -%%DATADIR%%/transforms/80easyMatrices.pl +%%DATADIR%%/transforms/81autoAlignEquations.pl %%DATADIR%%/transforms/85sweepHalfEquationsIntoAdjacentMathMode.pl +%%DATADIR%%/transforms/86combineAdjAligns.pl %%DATADIR%%/transforms/90addHeaderAndFooter.pl %%DATADIR%%/transforms/90doublePercentIsCommentSymbol.pl -%%DATADIR%%/transforms/90easyFigures.pl %%DATADIR%%/transforms/90graphs.pl %%DATADIR%%/transforms/90numberSign.pl +%%DATADIR%%/transforms/90recurseOnInclude.pl %%DATADIR%%/transforms/90removeWhitespaceAroundEquations.pl +%%DATADIR%%/transforms/91beamerOptions.pl +%%DATADIR%%/transforms/91beamerRemoveClashingPackages.pl %%DATADIR%%/transforms/91easyQuotes.pl %%DATADIR%%/transforms/91easySections.pl %%DATADIR%%/transforms/91seminarAddSlidesec.pl -%%DATADIR%%/transforms/91seminarEnvAddSlide.pl +%%DATADIR%%/transforms/91seminarEnvAddSlideHeaderFooter.pl %%DATADIR%%/transforms/92seminarFlushHeadingsTop.pl %%DATADIR%%/transforms/92tempKludges.pl -@dirrm %%DATADIR%%/disabled -@dirrm %%DATADIR%%/embed_transforms +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo-no-graph.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo.txt +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% @dirrm %%DATADIR%%/transforms +@dirrm %%DATADIR%%/embed_transforms +@dirrm %%DATADIR%%/disabled @dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |