2001-08-02 10:55:16 +02:00
|
|
|
# New ports collection makefile for: cdrtools
|
|
|
|
# Date created: Wed Jul 25 23:30:19 CEST 2001
|
|
|
|
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
|
1997-11-05 16:22:36 +01:00
|
|
|
#
|
1999-08-31 04:00:46 +02:00
|
|
|
# $FreeBSD$
|
1997-11-05 16:22:36 +01:00
|
|
|
#
|
|
|
|
|
2001-08-02 10:55:16 +02:00
|
|
|
PORTNAME?= cdrtools
|
2003-07-06 23:25:19 +02:00
|
|
|
PORTVERSION?= 2.0.3
|
|
|
|
PORTREVISION?= 0
|
2001-08-02 10:55:16 +02:00
|
|
|
CATEGORIES?= sysutils audio
|
2003-01-11 21:09:49 +01:00
|
|
|
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/ \
|
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/ \
|
|
|
|
ftp://ftp.gwdg.de/pub/linux/misc/cdrecord/
|
2003-07-06 23:25:19 +02:00
|
|
|
DISTNAME= cdrtools-2.00.3
|
1997-11-05 16:22:36 +01:00
|
|
|
|
1999-09-17 13:37:50 +02:00
|
|
|
MAINTAINER= dirk@FreeBSD.org
|
2003-03-06 20:23:19 +01:00
|
|
|
COMMENT?= Cdrecord, mkisofs and several other programs to record CD-R[W]
|
1997-11-05 16:22:36 +01:00
|
|
|
|
2001-08-02 10:55:16 +02:00
|
|
|
.if defined(MKISOFS)
|
|
|
|
MAN8= apple_driver.8 isoinfo.8 mkhybrid.8 mkisofs.8
|
|
|
|
.else
|
|
|
|
MAN1= cdda2wav.1 cdrecord.1 readcd.1
|
|
|
|
.endif
|
|
|
|
|
1997-11-05 16:22:36 +01:00
|
|
|
USE_GMAKE= yes
|
2000-01-30 00:53:58 +01:00
|
|
|
MAKE_ENV= COPTX="-DBSD_SCSI_SENSE_BUG"
|
2001-08-02 10:55:16 +02:00
|
|
|
SLAVEDIRS= sysutils/mkisofs
|
1999-09-18 20:52:53 +02:00
|
|
|
|
2002-12-20 05:37:14 +01:00
|
|
|
.if ${MACHINE_ARCH} != "i386"
|
1999-09-18 20:52:53 +02:00
|
|
|
post-extract:
|
2003-01-11 21:48:57 +01:00
|
|
|
${LN} -sf ${WRKSRC}/RULES/i386-freebsd-cc.rul \
|
2002-10-15 00:13:22 +02:00
|
|
|
${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-cc.rul
|
1999-09-18 20:52:53 +02:00
|
|
|
.endif
|
1997-11-05 16:22:36 +01:00
|
|
|
|
|
|
|
do-install:
|
2001-08-02 10:55:16 +02:00
|
|
|
.if defined(MKISOFS)
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/OBJ/${ARCH}-freebsd-cc/mkisofs \
|
|
|
|
${PREFIX}/bin
|
|
|
|
@${LN} -sf mkisofs ${PREFIX}/bin/mkhybrid
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/devdump \
|
|
|
|
${PREFIX}/bin
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/isodump \
|
|
|
|
${PREFIX}/bin
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/isoinfo \
|
|
|
|
${PREFIX}/bin
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/isovfy \
|
|
|
|
${PREFIX}/bin
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/mkisofs/apple_driver.8 ${PREFIX}/man/man8
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/mkisofs/diag/isoinfo.8 ${PREFIX}/man/man8
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/mkisofs/mkhybrid.8 ${PREFIX}/man/man8
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/mkisofs/mkisofs.8 ${PREFIX}/man/man8
|
|
|
|
.else
|
1999-09-18 20:52:53 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${ARCH}-freebsd-cc/cdrecord \
|
1997-11-05 16:22:36 +01:00
|
|
|
${PREFIX}/bin
|
1999-09-18 20:52:53 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${ARCH}-freebsd-cc/cdda2wav \
|
1999-03-24 00:29:01 +01:00
|
|
|
${PREFIX}/bin
|
2001-08-02 10:55:16 +02:00
|
|
|
@${LN} -sf cdda2wav ${PREFIX}/bin/list_audio_tracks
|
2002-04-16 21:02:19 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/readcd/OBJ/${ARCH}-freebsd-cc/readcd \
|
1999-12-06 01:11:18 +01:00
|
|
|
${PREFIX}/bin
|
1999-03-24 21:54:01 +01:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 ${PREFIX}/man/man1
|
2001-08-02 10:55:16 +02:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
|
2002-04-16 21:02:19 +02:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/readcd/readcd.1 ${PREFIX}/man/man1
|
2001-08-02 10:55:16 +02:00
|
|
|
.endif
|
1997-11-05 16:22:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|