summaryrefslogtreecommitdiff
path: root/audio/csound4-manual/Makefile
blob: 93203672675a89b0c1133551f14b90d781da4efa (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
# $NetBSD: Makefile,v 1.6 2008/05/26 02:13:15 joerg Exp $
#

DISTNAME=		manual-html-4.23
PKGNAME=		csound4-manual-4.23
CATEGORIES=		audio
MASTER_SITES=		ftp://ftp.cs.bath.ac.uk/pub/dream/documentation/manuals/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.csounds.com/
COMMENT=		Csound4 Reference Manual

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=	pax

NO_BUILD=		yes
WRKSRC=			${WRKDIR}
DIST_SUBDIR=		${PKGNAME_NOREV}

INSTALLATION_DIRS=	share/doc/csound4  share/examples

do-install:
	cd ${WRKSRC}/csound-4.23/manual && \
	pax -rw -s '|.*/CVS/.*||' -s ',.*/CVS$$,,' * \
		${DESTDIR}${PREFIX}/share/doc/csound4
	cd ${FILESDIR} && ${INSTALL_DATA} rt-midi-input.* \
		${DESTDIR}${PREFIX}/share/doc/csound4/examples
	${LN} -s ../../share/doc/csound4/examples \
		${DESTDIR}${PREFIX}/share/examples/csound4

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