summaryrefslogtreecommitdiffstats
path: root/audio/etktab/Makefile
blob: 4849e6c3b290580ff2b40fd35f920a8c4618e966 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Created by: Juha Erkkilä <erkkila@cc.jyu.fi>
# $FreeBSD$

PORTNAME=	etktab
PORTVERSION=	3.2
PORTREVISION=	3
CATEGORIES=	audio tcl tk
MASTER_SITES=	SF/${PORTNAME}/eTktab/${PORTVERSION} \
		SF/${PORTNAME}/keyboard%20layout%20support/${PORTVERSION}:keyboard
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:DEFAULT
DIST_SUBDIR=	${PORTNAME}
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Guitar tablature editor

OPTIONS_DEFINE=	DOCS

USES=		tk
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/eTktab-${PORTVERSION}

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	*

DOCS_DISTFILES=	canada_multi-3.2.etk:keyboard \
		dvorak-3.2.etk:keyboard \
		uk-3.2.etk:keyboard \
		us-3.2.etk:keyboard

post-patch:
	${REINPLACE_CMD} -e 's|wish|${WISH}|g' ${WRKSRC}/eTktab

post-extract:
.for FILE in canada_multi-3.2.etk dvorak-3.2.etk uk-3.2.etk us-3.2.etk
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${WRKSRC}
.endfor

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/eTktab ${STAGEDIR}${PREFIX}/bin/etktab
do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in CHANGES.html LICENSE.html README.html eTktab-small.xpm eTktab.xpm \
		canada_multi-3.2.etk dvorak-3.2.etk uk-3.2.etk us-3.2.etk
	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor

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