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