1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Add knob WITH_CDDB, adds cddb support.

this is also auto-detected and can not be turned off because
  there is no configure knob to turn off.
- Bump PORTREVISION because libcddb just got bumped so people wont' run
  in to problems with libver stuff.
This commit is contained in:
Michael Johnson 2005-07-24 03:46:10 +00:00
parent 37a32041b4
commit 7293c330ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139999
3 changed files with 23 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#
PORTVERSION= 2.01.${PATCHDATE}
PORTREVISION= 1
CATEGORIES= sysutils chinese japanese korean audio
PKGNAMEPREFIX= cjk-

View File

@ -7,6 +7,7 @@
PORTNAME= cdrtools
PORTVERSION= 2.01.01a03
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= sysutils audio
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/ \
@ -56,6 +57,12 @@ PKGNAMESUFFIX?= -devel
IGNORE= The mlockall(2) of your FreeBSD 5.x version causes problems when used by cdrecord. Please update FreeBSD to >= 5.3 in order to use this port
.endif
.if exists(${LOCALBASE}/lib/libcdio.a) || defined(WITH_CDDB)
WITH_CDDB= yes
LIB_DEPENDS+= cddb.3:${PORTSDIR}/audio/libcddb \
cdio.6:${PORTSDIR}/sysutils/libcdio
.endif
pre-everything::
.if !defined(WITH_RSCSI)
@${ECHO_MSG} ""
@ -68,6 +75,10 @@ pre-everything::
@${ECHO_MSG} " this is the preferred method to set it up."
@${ECHO_MSG} ""
.endif
.if !defined(WITH_CDDB)
@${ECHO_MSG} "WITH_CDDB=yes builds with cddb (http://freedb.org) support"
@${ECHO_MSG} ""
.endif
post-extract:
.for i in config.guess config.sub

View File

@ -7,7 +7,7 @@
PORTNAME= cdrtools
PORTVERSION?= 2.01
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES?= sysutils audio
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/ \
ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/
@ -54,6 +54,12 @@ PLIST_SUB= RSCSI="@comment "
IGNORE= The mlockall(2) of your FreeBSD 5.x version causes problems when used by cdrecord. Please update FreeBSD to >= 5.3 in order to use this port
.endif
.if exists(${LOCALBASE}/lib/libcdio.a) || defined(WITH_CDDB)
WITH_CDDB= yes
LIB_DEPENDS+= cddb.3:${PORTSDIR}/audio/libcddb \
cdio.6:${PORTSDIR}/sysutils/libcdio
.endif
pre-everything::
.if !defined(WITH_RSCSI)
@${ECHO_MSG} ""
@ -66,6 +72,10 @@ pre-everything::
@${ECHO_MSG} " this is the preferred method to set it up."
@${ECHO_MSG} ""
.endif
.if !defined(WITH_CDDB)
@${ECHO_MSG} "WITH_CDDB=yes builds with cddb (http://freedb.org) support"
@${ECHO_MSG} ""
.endif
post-extract:
.for i in config.guess config.sub