# $NetBSD: Makefile,v 1.3 1999/10/07 17:41:58 tron Exp $ DISTNAME= cdrecord-1.8a28 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.fokus.gmd.de/nthp/employees/schilling/cdrecord.html USE_GMAKE= yes WRKSRC= ${WRKDIR}/${DISTNAME:C/a.*//} TARGET_ARCH= ${MACHINE}-netbsd-cc TARGET_DIR= OBJ/${TARGET_ARCH} do-configure: ${MKDIR} ${WRKSRC}/include/sys ${LN} -fs /usr/include/soundcard.h ${WRKSRC}/include/sys cd ${WRKSRC}/RULES; \ ${TEST} -f netbsd-cc.rul || ${MV} i386-netbsd-cc.rul netbsd-cc.rul; \ ${TEST} -f netbsd-gcc.rul || ${MV} i386-netbsd-gcc.rul netbsd-gcc.rul; \ ${LN} -sf netbsd-gcc.rul ${MACHINE}-netbsd-gcc.rul; \ ${LN} -sf netbsd-cc.rul ${TARGET_ARCH}.rul do-install: cd ${WRKSRC}/cdda2wav; \ ${INSTALL_PROGRAM} ${TARGET_DIR}/cdda2wav ${PREFIX}/bin; \ ${INSTALL_MAN} cdda2wav.1 ${PREFIX}/man/man1 cd ${WRKSRC}/cdrecord; \ ${INSTALL_PROGRAM} ${TARGET_DIR}/cdrecord ${PREFIX}/bin; \ ${INSTALL_MAN} cdrecord.1 ${PREFIX}/man/man1 ${INSTALL_PROGRAM} ${WRKSRC}/misc/${TARGET_DIR}/readcd ${PREFIX}/bin .include "../../mk/bsd.pkg.mk"