aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdrtools-devel
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrtools-devel')
-rw-r--r--sysutils/cdrtools-devel/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index c3fc7df9406a..c92816df7e12 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/Makefile
@@ -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