aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-27 02:05:57 +0800
committerbapt <bapt@FreeBSD.org>2013-12-27 02:05:57 +0800
commit2cda883e4cafaf59d7dbe910e877b625d0caf759 (patch)
tree4ea58ea75247e04f059d367d8b0ddb79fe7b5b81 /audio
parentbc04fa9202d2321b95db865fdaf243244c96991f (diff)
downloadfreebsd-ports-gnome-2cda883e4cafaf59d7dbe910e877b625d0caf759.tar.gz
freebsd-ports-gnome-2cda883e4cafaf59d7dbe910e877b625d0caf759.tar.zst
freebsd-ports-gnome-2cda883e4cafaf59d7dbe910e877b625d0caf759.zip
Support stage
Use shebangfix Properly run depends on perl
Diffstat (limited to 'audio')
-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>