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

PORTNAME=	csound-manual
PORTVERSION=	4.10
CATEGORIES=	audio
MASTER_SITES=	ftp://csounds.com/manual/current/
DISTFILES=	ascii.zip \
		espanol.zip \
		html.zip \
		manual1.zip \
		manual2.zip \
		spplmnt1.zip \
		spplmnt2.zip \
		spplmtxt.zip \
		toots.zip
DIST_SUBDIR=	csound

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

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

BROKEN=		Files are not available for distribution anymore. \
		Owner has withdrawn the files due to bandwidth costs.

RESTRICTED=	"no redistribution; no commercial use except to make music (see http://mitpress.mit.edu/e-books/csound/fpage/FAQml/faq/faq.html)"
NO_CDROM=	${RESTRICTED}
NO_FTP=		${RESTRICTED}

NO_BUILD=		yes
NO_MTREE=		yes
PLIST=			${WRKDIR}/pkg-plist
PREFIX=			${X11BASE}/share/doc/csound
USE_ZIP=		yes
WRKSRC=			${WRKDIR}/manual
EXTRACT_AFTER_ARGS=	-d ${WRKSRC}

pre-extract:
	${MKDIR} ${WRKSRC}

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

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud