summaryrefslogtreecommitdiff
path: root/audio/csound-manual/Makefile
blob: 65694037908e806f8058b3ac54c2747a1ebc7e89 (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
49
50
51
# $NetBSD: Makefile,v 1.8 2003/07/19 08:54:25 wiz Exp $
#

DISTNAME=		csound-manual-4.10
PKGREVISION=		1
WRKSRC=			${WRKDIR}
CATEGORIES=		audio
MASTER_SITES=		ftp://ftp.csounds.com/manual/current/
EXTRACT_SUFX=		.zip
DISTFILES=		ascii.zip \
			espanol.zip \
			html.zip \
			manual1.zip \
			manual2.zip \
			spplmnt1.zip \
			spplmnt2.zip \
			spplmtxt.zip \
			toots.zip

MAINTAINER=		collver1@comcast.net
HOMEPAGE=		http://www.csound.org
COMMENT=		Manuals and examples for Csound

LICENSE=		csound-license
RESTRICTED=		"no for-fee-redistribution"
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}
DIST_SUBDIR=		csound-4.10

NO_BUILD=		yes
# default -a in options wreaks havoc on pdfs in the zips
EXTRACT_CMD=		unzip -Lq ${DOWNLOADED_DISTFILE}

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/csound
	cd ${WRKSRC} && ${INSTALL_DATA} manual.txt spanish4.pdf manual.pdf \
		manual1.pdf manual2.pdf spplmnt.pdf spplmnt1.pdf spplmnt2.pdf \
		spplmnt.txt \
		${PREFIX}/share/doc/csound
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/csound
	cd ${WRKSRC} && ${PAX} -rw appendix command control cscore durctl \
		gen midi misc pchcnv pgmctl preface qr score siggen sigio \
		sigmod spectral syntax utility valcnv zak *.htm *.gif \
		${PREFIX}/share/doc/html/csound
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/csound
	cd ${WRKSRC} && ${INSTALL_DATA} hellorcb.aif toot* \
		${PREFIX}/share/examples/csound
	cd ${FILESDIR} && ${INSTALL_DATA} rt-midi-input.* \
		${PREFIX}/share/examples/csound

.include "../../mk/bsd.pkg.mk"