diff options
author | netchild <netchild@FreeBSD.org> | 2003-12-28 14:38:14 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2003-12-28 14:38:14 +0000 |
commit | 53906071008050e4dd11559d0e819bdd95f1b8ac (patch) | |
tree | dde984f3d5a32303d251d0546616fce0062f0339 /sysutils/cdrtools-devel | |
parent | b3d6615bf677292f21bbbedffc39b45501b65d4b (diff) | |
download | FreeBSD-ports-53906071008050e4dd11559d0e819bdd95f1b8ac.zip FreeBSD-ports-53906071008050e4dd11559d0e819bdd95f1b8ac.tar.gz |
- Update to 2.01a21. For a list of changes see:
ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a21
- Obey the (changed) "GPL clarifications text" in cdrecord.c and compile
with "-DSOURCE_MODIFIED" as this port slightly modifies cdrtools.
- Remove the WITH_DVDHACK knob, this port is pretty much unmaintainable
with this patch on its coat-tails. If you want to write DVDs please use
a tool like dvdrtools or cdrecord-prodvd that is written for that purpose
and coordinate with their authors if they don't work for you.
Submitted by: maintainer
Diffstat (limited to 'sysutils/cdrtools-devel')
-rw-r--r-- | sysutils/cdrtools-devel/Makefile | 24 | ||||
-rw-r--r-- | sysutils/cdrtools-devel/distinfo | 3 |
2 files changed, 9 insertions, 18 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile index f8516bd..52e401c 100644 --- a/sysutils/cdrtools-devel/Makefile +++ b/sysutils/cdrtools-devel/Makefile @@ -6,19 +6,12 @@ # PORTNAME?= cdrtools -PORTVERSION?= 2.01a20 +PORTVERSION?= 2.01a21 PORTREVISION?= 0 CATEGORIES?= sysutils audio MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/ \ ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/alpha/ -DISTNAME= cdrtools-2.01a20 - -.if defined(WITH_DVDHACK) && !defined(MKISOFS) -#PATCH_SITES= http://people.mandrakesoft.com/~warly/files/cdrtools/archives/ -PATCH_SITES= ftp://ftp.zeist.de/pub/distfiles/ -PATCHFILES= cdrtools-2.01a20-dvd.patch.bz2 -PATCH_DIST_STRIP= -p1 -.endif +DISTNAME= cdrtools-2.01a21 MAINTAINER= marius@alchemy.franken.de COMMENT?= Cdrecord and other programs to extract and record CDs/CD-R[W]s @@ -47,6 +40,7 @@ USE_BZIP2= yes USE_GMAKE= yes USE_REINPLACE= yes MAKE_ENV= CCOM=${CC} +CFLAGS+= -DSOURCE_MODIFIED WRKSRC= ${WRKDIR}/${DISTNAME:C/a(.+)$//} .if defined(MKISOFS) @@ -55,18 +49,15 @@ PKGMESSAGE= "" .else DOCSSRC= ${WRKSRC} PKGMESSAGE= ${WRKDIR}/pkg-message -.if defined(WITH_DVDHACK) -_DVDSUFFIX= -dvd -.endif .if defined(WITH_RSCSI) PKGINSTALL= ${PKGDIR}/pkg-install.rscsi PLIST_SUB= RSCSI="" -_RSCSISUFFIX= -rscsi +PKGNAMESUFFIX= -rscsi-devel .else PLIST_SUB= RSCSI="@comment " .endif .endif -PKGNAMESUFFIX= ${_DVDSUFFIX}${_RSCSISUFFIX}-devel +PKGNAMESUFFIX?= -devel .include <bsd.port.pre.mk> @@ -75,8 +66,6 @@ pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "You may use the following build option(s):" @${ECHO_MSG} "" - @${ECHO_MSG} "WITH_DVDHACK=yes builds with a third-party patch that enables recording" - @${ECHO_MSG} " of DVD-R[W]s." @${ECHO_MSG} "WITH_RSCSI=yes builds with rscsi which allows using SCSI-devices over" @${ECHO_MSG} " the network." @${ECHO_MSG} " BEWARE: The rscsi binary gets installed suid root as" @@ -114,6 +103,9 @@ post-patch: s|\/usr\/local|${PREFIX}|g; s|\/etc\/default|${PREFIX}\/etc|g; \ s|\/var\/adm\/messages|\/var\/run\/dmesg.boot|g' ${WRKSRC}/${i} .endfor + @${REINPLACE_CMD} -E -e \ + 's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \ + ${WRKSRC}/cdrecord/cdrecord.c @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \ ${WRKDIR}/pkg-message .endif diff --git a/sysutils/cdrtools-devel/distinfo b/sysutils/cdrtools-devel/distinfo index 9d670d5..49aa009 100644 --- a/sysutils/cdrtools-devel/distinfo +++ b/sysutils/cdrtools-devel/distinfo @@ -1,2 +1 @@ -MD5 (cdrtools-2.01a20.tar.bz2) = fbbea6fce9c20e836234f8b892971a5c -MD5 (cdrtools-2.01a20-dvd.patch.bz2) = 938bd1f459165e733880116fd1833b08 +MD5 (cdrtools-2.01a21.tar.bz2) = fcb196d10bdd62dc76370612d4cd75d9 |