aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel/Makefile
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-08-02 08:55:16 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-08-02 08:55:16 +0000
commit63ee14dd881d27cd0e7ddffefc2ac1dec59d40ba (patch)
tree464a5a7033781e95cf24f507fd17febaf8cba42b /sysutils/cdrtools-devel/Makefile
parent8b6dfb734d4458d6875b83635516d78d9da38cfc (diff)
downloadports-63ee14dd881d27cd0e7ddffefc2ac1dec59d40ba.tar.gz
ports-63ee14dd881d27cd0e7ddffefc2ac1dec59d40ba.zip
Notes
Diffstat (limited to 'sysutils/cdrtools-devel/Makefile')
-rw-r--r--sysutils/cdrtools-devel/Makefile43
1 files changed, 34 insertions, 9 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index a6d7e2966b16..ff369a12ca20 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/Makefile
@@ -1,22 +1,29 @@
-# New ports collection makefile for: cdrecord
-# Date created: 2 November 1997
-# Whom: jmz
+# New ports collection makefile for: cdrtools
+# Date created: Wed Jul 25 23:30:19 CEST 2001
+# Whom: Dirk Froemberg <dirk@FreeBSD.org>
#
# $FreeBSD$
#
-PORTNAME= cdrecord
-PORTVERSION= 1.9
-CATEGORIES= sysutils audio
+PORTNAME?= cdrtools
+PORTVERSION?= 1.10
+CATEGORIES?= sysutils audio
MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/ \
ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/ \
ftp://ftp.gwdg.de/pub/linux/misc/cdrecord/
+DISTNAME= cdrtools-1.10
MAINTAINER= dirk@FreeBSD.org
-MAN1= cdrecord.1 cdda2wav.1 readcd.1
+.if defined(MKISOFS)
+MAN8= apple_driver.8 isoinfo.8 mkhybrid.8 mkisofs.8
+.else
+MAN1= cdda2wav.1 cdrecord.1 readcd.1
+.endif
+
USE_GMAKE= yes
MAKE_ENV= COPTX="-DBSD_SCSI_SENSE_BUG"
+SLAVEDIRS= sysutils/mkisofs
.if ${MACHINE_ARCH} == "alpha"
post-extract:
@@ -25,15 +32,33 @@ post-extract:
.endif
do-install:
+.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
@${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${ARCH}-freebsd-cc/cdrecord \
${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${ARCH}-freebsd-cc/cdda2wav \
${PREFIX}/bin
+ @${LN} -sf cdda2wav ${PREFIX}/bin/list_audio_tracks
@${INSTALL_PROGRAM} ${WRKSRC}/misc/OBJ/${ARCH}-freebsd-cc/readcd \
${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 ${PREFIX}/man/man1
+ @${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/misc/readcd.1 ${PREFIX}/man/man1
- @${LN} -sf ${PREFIX}/bin/cdda2wav ${PREFIX}/bin/list_audio_tracks
+.endif
.include <bsd.port.mk>