summaryrefslogtreecommitdiff
path: root/audio/csound-manual/Makefile
blob: ad926802f451f93293d8bba15ac0a5857af9cd92 (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
# New ports collection makefile for:	csound-manual
# Date created:				2000-10-11
# Whom:					trevor
#
# $FreeBSD$
#

PORTNAME=	csound-manual
PORTVERSION=	4.23
CATEGORIES=	audio
MASTER_SITES=	http://www.kevindumpscore.com/download/ \
		ftp://ftp.cs.bath.ac.uk/pub/dream/documentation/manuals/
DISTFILES=	manual-docbook-${PORTVERSION}.tar.gz \
		manual-html-${PORTVERSION}.tar.gz \
		manual-pdf-${PORTVERSION}.tar.gz \
		manual-text-${PORTVERSION}.tar.gz
DIST_SUBDIR=	csound

MAINTAINER=	trevor@FreeBSD.org
COMMENT=	Manuals for Csound

RUN_DEPENDS=	csound:${PORTSDIR}/audio/csound

NO_BUILD=		yes
NO_MTREE=		yes
PLIST=			${WRKDIR}/pkg-plist
PREFIX=			${X11BASE}/share/doc/csound
WRKSRC=			${WRKDIR}/csound-${PORTVERSION}

pre-install:
	${RM} -f ${PLIST}
	cd ${WRKSRC} && ${FIND} -s . -type f | \
		${CUT} -c3-999 >> ${PLIST} \
		&& ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST}

do-install:
	cd ${WRKSRC} && pax -r -w * ${PREFIX}

.include <bsd.port.mk>