6d7de46c96
Too many changes to list them all here; see following for full details: ftp://ftp.berlios.de/pub/cdrecord/AN-2.0 cdrecord: -overburn option Driveropts "burnproof" renamed to "burnfree" CD-Text support. cdda2wav: Added -L to query freedb.freedb.org for CDDB information. mkisofs: Fix -graft-points. Various fixes to HFS support. libedc: Performance enhancements. libscg: Various improvements to SCSI & ATAPI transports.
64 lines
1.9 KiB
Makefile
64 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.44 2003/01/03 16:27:09 lukem Exp $
|
|
|
|
DISTNAME= cdrtools-2.0
|
|
PKGNAME= cdrecord-2.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/
|
|
|
|
MAINTAINER= lukem@netbsd.org
|
|
HOMEPAGE= http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html
|
|
COMMENT= This program allows you to create CD's on a CD-Recorder
|
|
|
|
CONFLICTS= mkisofs-[0-9]*
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_BUILDLINK2= # defined
|
|
USE_GMAKE= # defined
|
|
TBL?= tbl
|
|
|
|
.if ${LOCALBASE} != "/opt/schily"
|
|
BUILDLINK_TRANSFORM= r:-I/opt/schily
|
|
BUILDLINK_TRANSFORM+= r:-L/opt/schily
|
|
.endif
|
|
|
|
# avoid picking up a bad ${ARCH} during the build
|
|
MAKE_ENV+= ARCH=""
|
|
MAKE_ENV+= MAKEPROG="gmake"
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}/RULES; \
|
|
for suffix in netbsd-cc.rul netbsd-gcc.rul; do \
|
|
if [ ! -f ${MACHINE}-$$suffix ]; then \
|
|
${LN} -sf i386-$$suffix ${MACHINE}-$$suffix; \
|
|
fi; \
|
|
done
|
|
|
|
post-build:
|
|
cd ${WRKSRC}; \
|
|
for file in cdda2wav/cdda2wav.1 mkisofs/mkisofs.8; do \
|
|
${TBL} $${file} > $${file}.tmp; \
|
|
${MV} -f $${file}.tmp $${file}; \
|
|
done
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/cdda2wav; \
|
|
${INSTALL_PROGRAM} OBJ/*/cdda2wav ${PREFIX}/bin; \
|
|
${INSTALL_MAN} cdda2wav.1 ${PREFIX}/man/man1
|
|
cd ${WRKSRC}/cdrecord; \
|
|
${INSTALL_PROGRAM} OBJ/*/cdrecord ${PREFIX}/bin; \
|
|
${INSTALL_MAN} cdrecord.1 ${PREFIX}/man/man1
|
|
cd ${WRKSRC}/mkisofs; \
|
|
${INSTALL_PROGRAM} OBJ/*/mkisofs ${PREFIX}/bin; \
|
|
${INSTALL_MAN} mkisofs.8 ${PREFIX}/man/man8
|
|
cd ${WRKSRC}/mkisofs/diag; \
|
|
for f in devdump isodump isoinfo isovfy; do \
|
|
${INSTALL_PROGRAM} OBJ/*/$$f ${PREFIX}/bin; \
|
|
${INSTALL_MAN} isoinfo.8 ${PREFIX}/man/man8/$$f.8; \
|
|
done
|
|
cd ${WRKSRC}/readcd; \
|
|
${INSTALL_PROGRAM} OBJ/*/readcd ${PREFIX}/bin; \
|
|
${INSTALL_MAN} readcd.1 ${PREFIX}/man/man1
|
|
|
|
.include "../../mk/ossaudio.buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|