summaryrefslogtreecommitdiff
path: root/audio/csound4-manual/Makefile
blob: 2da704c903e6f186e7b697c046b80c30770e6c94 (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
# $NetBSD: Makefile,v 1.5 2008/03/02 06:10:31 jlam 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

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"