aboutsummaryrefslogtreecommitdiff
path: root/audio/chordpack
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-26 18:05:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-26 18:05:57 +0000
commit996e41463737ff071c908631d8cd6229fedcd5ea (patch)
tree4ea58ea75247e04f059d367d8b0ddb79fe7b5b81 /audio/chordpack
parent81051cd244969e72d9bcd114d8db7f92ffab8cc4 (diff)
downloadports-996e41463737ff071c908631d8cd6229fedcd5ea.tar.gz
ports-996e41463737ff071c908631d8cd6229fedcd5ea.zip
Notes
Diffstat (limited to 'audio/chordpack')
-rw-r--r--audio/chordpack/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/audio/chordpack/Makefile b/audio/chordpack/Makefile
index ad05a3e4d19a..edd45ac53d3e 100644
--- a/audio/chordpack/Makefile
+++ b/audio/chordpack/Makefile
@@ -3,7 +3,7 @@
PORTNAME= chordpack
PORTVERSION= 0.8.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://sweb.cz/dan.polansky/chordpack/
EXTRACT_SUFX= .tgz
@@ -11,21 +11,19 @@ EXTRACT_SUFX= .tgz
MAINTAINER= sethk@meowfishies.com
COMMENT= Script to convert ChordPro files to HTML, ASCII, and TeX
+USES= shebangfix perl5
+SHEBANG_FILES= chordpack
+USE_PERL5= run
NO_WRKSUBDIR= true
NO_BUILD= true
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/chordpack ${PREFIX}/bin
- [ -d ${PREFIX}/share/emacs/site-lisp ] || \
- ${MKDIR} ${MKDIR}/share/emacs/site-lisp
+ ${INSTALL_SCRIPT} ${WRKDIR}/chordpack ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKDIR}/chordpro-mode.el \
- ${PREFIX}/share/emacs/site-lisp
-.ifndef(NOPORTDOCS)
- [ -d ${PREFIX}/share/doc/chordpack ] || \
- ${MKDIR} ${DOCSDIR}
+ ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKDIR}/chordpack-documentation.html \
- ${DOCSDIR}
-.endif
+ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>