blob: ce3f4b70d59ba01fbbc022af5ab67336ef06eab4 (
plain) (
blame)
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
|
# Created by: Sue Blake <sue@FreeBSD.org>
# $FreeBSD$
PORTNAME= abcmidi
DISTVERSION= 2015-09-28
CATEGORIES= audio
MASTER_SITES= http://ifdo.pugmarks.com/~seymour/runabc/
DISTNAME= abcMIDI-${DISTVERSION:S/-/./g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert abc music files to MIDI and PostScript
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= zip
GNU_CONFIGURE= yes
PORTDOCS= *
PLIST_FILES= ${EXECUTABLES:S,^,bin/,} \
${EXECUTABLES:S,^,man/man1/,:S,$,.1.gz,}
OPTIONS_DEFINE= DOCS
EXECUTABLES= abc2abc abc2midi abcmatch mftext midi2abc midicopy yaps
post-patch:
@${REINPLACE_CMD} -e \
's| -O2||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/^docdir/s|= .*|= $${datadir}/doc/abcmidi| ; \
s|$${prefix}/||g ; \
s|$$(INSTALL) -m 755|$$(INSTALL_PROGRAM)| ; \
s|$$(INSTALL) -m 644|$$(INSTALL_DATA)|' \
${WRKSRC}/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/programming
(cd ${WRKSRC}/doc/programming && ${INSTALL_DATA} *.abc *.txt \
${STAGEDIR}${DOCSDIR}/programming)
.include <bsd.port.mk>
|