freebsd-ports/audio/csound-manual/Makefile
Edwin Groothuis ce51857d08 Give better BROKEN reason.
Noticed by: bento / linimon
2003-08-30 10:51:01 +00:00

55 lines
1.2 KiB
Makefile

# 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>