diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-28 12:25:44 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-28 12:25:44 +0000 |
commit | c82cc2cf13e91b06f2b5c53d2ae013c407280474 (patch) | |
tree | 882190cedf631c5152c701868d318aba1c976bdc /print/easylatex | |
parent | facdfd83a7cf9e939bb7d44a21db29814295860f (diff) | |
download | ports-c82cc2cf13e91b06f2b5c53d2ae013c407280474.tar.gz ports-c82cc2cf13e91b06f2b5c53d2ae013c407280474.zip |
Notes
Diffstat (limited to 'print/easylatex')
-rw-r--r-- | print/easylatex/Makefile | 30 | ||||
-rw-r--r-- | print/easylatex/pkg-descr | 2 |
2 files changed, 15 insertions, 17 deletions
diff --git a/print/easylatex/Makefile b/print/easylatex/Makefile index 2e66bb1d2a51..8a6621f574b6 100644 --- a/print/easylatex/Makefile +++ b/print/easylatex/Makefile @@ -3,7 +3,6 @@ PORTNAME= easylatex PORTVERSION= 0.080 -PORTREVISION= 0 CATEGORIES= print textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME} DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//} @@ -14,26 +13,25 @@ COMMENT= Perl script which transforms "pseudo-LaTeX" into proper LaTeX RUN_DEPENDS= p5-Getopt-Declare>=0:${PORTSDIR}/devel/p5-Getopt-Declare NO_BUILD= yes -USES= perl5 +USES= perl5 shebangfix + +SHEBANG_FILES= ${PORTNAME}.pl + +OPTIONS_DEFINE= DOCS EXAMPLES -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's,/usr/lib/easylatex,${DATADIR},' \ ${WRKSRC}/${PORTNAME}.pl do-install: -# script/data - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} - @${MKDIR} ${DATADIR} - cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_SHARE} . ${DATADIR} -# docs, examples -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${DOCSDIR} -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/demo.txt ${WRKSRC}/demo-no-graph.txt ${EXAMPLESDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/demo.txt ${WRKSRC}/demo-no-graph.txt \ + ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/print/easylatex/pkg-descr b/print/easylatex/pkg-descr index be2bcda3b515..54e72c6e8247 100644 --- a/print/easylatex/pkg-descr +++ b/print/easylatex/pkg-descr @@ -2,4 +2,4 @@ EasyLatex is a preprocessor which takes an input file in "pseudo-latex", and transforms it into proper LaTeX syntax. Author: Bayle Shanks <bshanks@ucsd.edu> -WWW: http://easylatex.sourceforge.net/ +WWW: http://easylatex.sourceforge.net/ |