summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/guitartex/Makefile29
-rw-r--r--print/guitartex/distinfo2
-rw-r--r--print/guitartex/pkg-plist182
3 files changed, 197 insertions, 16 deletions
diff --git a/print/guitartex/Makefile b/print/guitartex/Makefile
index fe88996..1fc713e 100644
--- a/print/guitartex/Makefile
+++ b/print/guitartex/Makefile
@@ -7,10 +7,13 @@
#
PORTNAME= guitartex
-PORTVERSION= 2.4.1
+PORTVERSION= 2.8.2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+## Hack just for this "fix version"
+DISTNAME= ${PORTNAME}-${PORTVERSION}-fix1
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GuitarTeX converts the Chord format into "normal" LaTeX format
@@ -22,12 +25,28 @@ USE_REINPLACE= yes
USE_PERL5= yes
NO_BUILD= yes
-post-patch:
- @${REINPLACE_CMD} -e "s,\"\(.*\.gif\)\",\"${DATADIR}/\1\",g" ${WRKSRC}/guitartex
+do-configure:
+ @${REINPLACE_CMD} -e 's!/usr/local/lib/guitartex!${DATADIR}!g' ${WRKSRC}/gtx2tex.pl
+ @${REINPLACE_CMD} -e 's!/usr/local/lib/guitartex!${DATADIR}!g' ${WRKSRC}/guitartex.pl
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/guitartex ${PREFIX}/bin
+ ${INSTALL} ${WRKSRC}/gtx2tex.pl ${PREFIX}/bin
+ ${INSTALL} ${WRKSRC}/guitartex.pl ${PREFIX}/bin
@${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.gif ${WRKSRC}/*.ps ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/guitartex.conf ${DATADIR}
+ @${MKDIR} ${DATADIR}/images
+ ${INSTALL_DATA} ${WRKSRC}/images/* ${DATADIR}/images
+ @${MKDIR} ${DATADIR}/language
+ ${INSTALL_DATA} ${WRKSRC}/language/* ${DATADIR}/language/
+ @${MKDIR} ${DATADIR}/templates
+ ${INSTALL_DATA} ${WRKSRC}/templates/* ${DATADIR}/templates
+
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -Rp ${WRKSRC}/doc/* ${DOCSDIR}
+.endif
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/print/guitartex/distinfo b/print/guitartex/distinfo
index c2442bb..abf7301 100644
--- a/print/guitartex/distinfo
+++ b/print/guitartex/distinfo
@@ -1 +1 @@
-MD5 (guitartex-2.4.1.tar.gz) = 8ab2f197dd7fa295bcfc0d6917ffddb2
+MD5 (guitartex-2.8.2-fix1.tar.gz) = 5fff244c728ea7841626a5c54bb401ed
diff --git a/print/guitartex/pkg-plist b/print/guitartex/pkg-plist
index f317de2..7cd0af5 100644
--- a/print/guitartex/pkg-plist
+++ b/print/guitartex/pkg-plist
@@ -1,11 +1,173 @@
-bin/guitartex
-share/guitartex/chord-common.ps
-share/guitartex/down.gif
-share/guitartex/filenew.gif
-share/guitartex/fileopen.gif
-share/guitartex/filesave.gif
-share/guitartex/pdf.gif
-share/guitartex/postscript.gif
-share/guitartex/tex.gif
-share/guitartex/up.gif
+bin/gtx2tex.pl
+bin/guitartex.pl
+share/guitartex/guitartex.conf
+share/guitartex/images/color.gif
+share/guitartex/images/colorscm.png
+share/guitartex/images/down.gif
+share/guitartex/images/filenew.gif
+share/guitartex/images/fileopen.gif
+share/guitartex/images/filesave.gif
+share/guitartex/images/pdf.gif
+share/guitartex/images/postscript.gif
+share/guitartex/images/tex.gif
+share/guitartex/images/up.gif
+share/guitartex/language/br.pl
+share/guitartex/language/de.pl
+share/guitartex/language/en.pl
+share/guitartex/language/es.pl
+share/guitartex/language/it.pl
+share/guitartex/language/pl.pl
+share/guitartex/templates/Song
+share/guitartex/templates/Songbook
+share/guitartex/templates/empty
+%%PORTDOCS%%share/doc/guitartex/images/.xvpics/musixtex2.png
+%%PORTDOCS%%share/doc/guitartex/images/postscript.png
+%%PORTDOCS%%share/doc/guitartex/images/chord-example.png
+%%PORTDOCS%%share/doc/guitartex/images/color_selector.png
+%%PORTDOCS%%share/doc/guitartex/images/song.png
+%%PORTDOCS%%share/doc/guitartex/images/syntax.png
+%%PORTDOCS%%share/doc/guitartex/images/tablat1.png
+%%PORTDOCS%%share/doc/guitartex/images/tablat2.png
+%%PORTDOCS%%share/doc/guitartex/images/tablat3.png
+%%PORTDOCS%%share/doc/guitartex/images/tablat4.png
+%%PORTDOCS%%share/doc/guitartex/images/tablat5.png
+%%PORTDOCS%%share/doc/guitartex/images/tablat6.png
+%%PORTDOCS%%share/doc/guitartex/images/manualsong.png
+%%PORTDOCS%%share/doc/guitartex/images/musixlyr1.png
+%%PORTDOCS%%share/doc/guitartex/images/tablature2.png
+%%PORTDOCS%%share/doc/guitartex/images/musixtex1.png
+%%PORTDOCS%%share/doc/guitartex/images/musixtex2.png
+%%PORTDOCS%%share/doc/guitartex/images/index.png
+%%PORTDOCS%%share/doc/guitartex/images/icons.png
+%%PORTDOCS%%share/doc/guitartex/images/chords.png
+%%PORTDOCS%%share/doc/guitartex/images/pdf.png
+%%PORTDOCS%%share/doc/guitartex/images/latex.png
+%%PORTDOCS%%share/doc/guitartex/images/window.png
+%%PORTDOCS%%share/doc/guitartex/images/tablature.pdf
+%%PORTDOCS%%share/doc/guitartex/images/songbook.png
+%%PORTDOCS%%share/doc/guitartex/images/tablature.png
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/caution.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/toc-blank.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/note.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/toc-plus.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/important.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/tip.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/home.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/toc-minus.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/prev.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/up.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/next.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/stylesheet-images/warning.gif
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/ln12.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x542.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x858.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/configfile.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/others.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/installation.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/examples.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/directives.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x929.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/songbook.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/r205.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x246.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/latex.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/gtx2tex.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/HTML.manifest
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/introduction.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/tablature.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x886.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x318.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/a959.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x325.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/c87.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/book1.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/docbook.css
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/requirements.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x782.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x903.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/editor.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/x474.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/links.html
+%%PORTDOCS%%share/doc/guitartex/en/guitartex/geometry.html
+%%PORTDOCS%%share/doc/guitartex/en/Makefile
+%%PORTDOCS%%share/doc/guitartex/en/guitartex.xml
+%%PORTDOCS%%share/doc/guitartex/en/introduction.xml
+%%PORTDOCS%%share/doc/guitartex/en/acknowledgements.xml
+%%PORTDOCS%%share/doc/guitartex/en/sflogo.xml
+%%PORTDOCS%%share/doc/guitartex/en/examples.xml
+%%PORTDOCS%%share/doc/guitartex/en/info.xml
+%%PORTDOCS%%share/doc/guitartex/en/editor.xml
+%%PORTDOCS%%share/doc/guitartex/en/links.xml
+%%PORTDOCS%%share/doc/guitartex/en/directives.xml
+%%PORTDOCS%%share/doc/guitartex/en/latex.xml
+%%PORTDOCS%%share/doc/guitartex/en/installation.xml
+%%PORTDOCS%%share/doc/guitartex/en/gtx2tex.xml
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/caution.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/toc-blank.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/note.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/toc-plus.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/important.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/tip.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/home.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/toc-minus.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/prev.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/up.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/next.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/stylesheet-images/warning.gif
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/r193.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/ln12.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x227.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x298.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/configfile.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x864.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/others.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/installation.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/examples.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/directives.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/songbook.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x305.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/latex.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/gtx2tex.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x750.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/HTML.manifest
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x883.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/introduction.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/tablature.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x819.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x447.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/c82.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/book1.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/docbook.css
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/requirements.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x519.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/a906.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/editor.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/x847.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/links.html
+%%PORTDOCS%%share/doc/guitartex/de/guitartex/geometry.html
+%%PORTDOCS%%share/doc/guitartex/de/Makefile
+%%PORTDOCS%%share/doc/guitartex/de/guitartex.xml
+%%PORTDOCS%%share/doc/guitartex/de/introduction.xml
+%%PORTDOCS%%share/doc/guitartex/de/acknowledgements.xml
+%%PORTDOCS%%share/doc/guitartex/de/sflogo.xml
+%%PORTDOCS%%share/doc/guitartex/de/examples.xml
+%%PORTDOCS%%share/doc/guitartex/de/info.xml
+%%PORTDOCS%%share/doc/guitartex/de/editor.xml
+%%PORTDOCS%%share/doc/guitartex/de/links.xml
+%%PORTDOCS%%share/doc/guitartex/de/directives.xml
+%%PORTDOCS%%share/doc/guitartex/de/latex.xml
+%%PORTDOCS%%share/doc/guitartex/de/installation.xml
+%%PORTDOCS%%share/doc/guitartex/de/gtx2tex.xml
+%%PORTDOCS%%@dirrm share/doc/guitartex/images/.xvpics
+%%PORTDOCS%%@dirrm share/doc/guitartex/images
+%%PORTDOCS%%@dirrm share/doc/guitartex/en/guitartex/stylesheet-images
+%%PORTDOCS%%@dirrm share/doc/guitartex/en/guitartex
+%%PORTDOCS%%@dirrm share/doc/guitartex/en
+%%PORTDOCS%%@dirrm share/doc/guitartex/de/guitartex/stylesheet-images
+%%PORTDOCS%%@dirrm share/doc/guitartex/de/guitartex
+%%PORTDOCS%%@dirrm share/doc/guitartex/de
+%%PORTDOCS%%@dirrm share/doc/guitartex
+@dirrm share/guitartex/images
+@dirrm share/guitartex/language
+@dirrm share/guitartex/templates
@dirrm share/guitartex
OpenPOWER on IntegriCloud