summaryrefslogtreecommitdiffstats
path: root/audio/chordpack/Makefile
blob: f9f3eae0344b2e61fee8bdcbada964d9c8fe9a00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: sethk
# $FreeBSD$

PORTNAME=	chordpack
PORTVERSION=	0.8.1
PORTREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	http://sweb.cz/dan.polansky/chordpack/

MAINTAINER=	sethk@meowfishies.com
COMMENT=	Script to convert ChordPro files to HTML, ASCII, and TeX

USES=		shebangfix perl5 tar:tgz
SHEBANG_FILES=	chordpack
USE_PERL5=	run
NO_WRKSUBDIR=	true
NO_BUILD=	true

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/chordpack ${STAGEDIR}${PREFIX}/bin
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
	${INSTALL_DATA} ${WRKDIR}/chordpro-mode.el  \
		${STAGEDIR}${PREFIX}/share/emacs/site-lisp
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${WRKDIR}/chordpack-documentation.html	\
		${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud