Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2013 18:05:57 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337586 - head/audio/chordpack
Message-ID:  <201312261805.rBQI5vuC007033@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Dec 26 18:05:57 2013
New Revision: 337586
URL: http://svnweb.freebsd.org/changeset/ports/337586

Log:
  Support stage
  Use shebangfix
  Properly run depends on perl

Modified:
  head/audio/chordpack/Makefile

Modified: head/audio/chordpack/Makefile
==============================================================================
--- head/audio/chordpack/Makefile	Thu Dec 26 18:05:36 2013	(r337585)
+++ head/audio/chordpack/Makefile	Thu Dec 26 18:05:57 2013	(r337586)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312261805.rBQI5vuC007033>