1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/sysutils/k3b/Makefile
Alexander Leidinger a23bcd1501 - update audio/lame to 3.98.4
- use ?= for the portrevision of a master port to make it possible to
  change it in a slave port which depends upon lame
- bump portrevisions of ports which depend upon lame
  - done via a semi-automated way (manual review and fixup)
  - I tried to take care to not bump ports which only depend optionaly on
    lame (with a default of no dependency)
2010-06-03 08:55:01 +00:00

132 lines
3.2 KiB
Makefile

# New ports collection makefile for: k3b
# Date created: 2003/02/13
# Whom: Heiner <h.eichmann@gmx.de>
#
# $FreeBSD$
#
PORTNAME= k3b
PORTVERSION= 1.0.5
PORTREVISION= 7
CATEGORIES= sysutils multimedia kde
MASTER_SITES= SF
MAINTAINER= h.eichmann@gmx.de
COMMENT= A CD/DVD recording GUI for KDE
RUN_DEPENDS= cdrdao:${PORTSDIR}/sysutils/cdrdao
LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
samplerate:${PORTSDIR}/audio/libsamplerate
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:22
CONFIGURE_ARGS= --with-k3bsetup=no --without-resmgr --without-hal
USE_GMAKE= yes
USE_CDRTOOLS= yes
USE_LDCONFIG= yes
USE_KDELIBS_VER= 3
OPTIONS= FLAC "Add audio/flac decoder" On \
LAME "Add audio/lame encoder (for mp3 files)" On \
FFMPEG "Add multimedia/ffmpeg decoder (for wma files)" Off \
MUSICBRAINZ "Use audio/libmusicbrainz music meta database" Off \
MPC "Add audio/libmpcdec decoder (for musepack file)" Off \
LIBDVDREAD "Use libdvdread (for video dvd ripping)" On \
DVDPLUSRW "Add DVD+RW Tools (for DVD+/-R(W) burning)" On \
TRANSCODE "Add Transcode (for DVD ripping)" Off \
EMOVIX "Add eMovix (to burn bootable video CD)" Off \
NORMALIZE "Add Normalize (adjust audio to a std. level)" Off \
SOX "Add SoX (more audio encoding formats)" Off \
VCDIMAGER "Add VCDImager (for Video CD burning)" Off
pre-configure:
${RM} ${WRKSRC}/admin/cvs.sh
${TOUCH} ${WRKSRC}/admin/cvs.sh
post-install:
@${CAT} ${PKGMESSAGE}
@sleep 5
showinfo:
more ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 700000
PKGMESSAGE= ${PKGDIR}/pkg-message-7
.endif
.if defined(WITH_FLAC)
PLIST_SUB+= FLAC=""
LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac
.else
PLIST_SUB+= FLAC="@comment "
CONFIGURE_ARGS+= --without-flac
.endif
.if defined(WITH_LAME)
PLIST_SUB+= LAME=""
LIB_DEPENDS+= mp3lame:${PORTSDIR}/audio/lame
.else
PLIST_SUB+= LAME="@comment "
CONFIGURE_ARGS+= --without-lame
.endif
.if defined(WITH_FFMPEG)
PLIST_SUB+= FFMPEG=""
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
.else
PLIST_SUB+= FFMPEG="@comment "
CONFIGURE_ARGS+= --without-ffmpeg
.endif
.if defined(WITH_MUSICBRAINZ)
PLIST_SUB+= MUSICBRAINZ=""
LIB_DEPENDS+= musicbrainz:${PORTSDIR}/audio/libmusicbrainz
.else
PLIST_SUB+= MUSICBRAINZ="@comment "
CONFIGURE_ARGS+= --without-musicbrainz
.endif
.if defined(WITH_MPC)
PLIST_SUB+= MPC=""
LIB_DEPENDS+= mpcdec:${PORTSDIR}/audio/libmpcdec
.else
PLIST_SUB+= MPC="@comment "
CONFIGURE_ARGS+= --without-musepack
.endif
.if defined(WITH_LIBDVDREAD)
PLIST_SUB+= LIBDVDREAD=""
LIB_DEPENDS+= dvdread.4:${PORTSDIR}/multimedia/libdvdread
.else
PLIST_SUB+= LIBDVDREAD="@comment "
CONFIGURE_ARGS+= --without-libdvdread
.endif
.if !defined (WITHOUT_DVDPLUSRW)
RUN_DEPENDS+= dvd+rw-format:${PORTSDIR}/sysutils/dvd+rw-tools
.endif
.if defined (WITH_TRANSCODE)
RUN_DEPENDS+= transcode:${PORTSDIR}/multimedia/transcode
.endif
.if defined (WITH_EMOVIX)
RUN_DEPENDS+= mkmovixiso:${PORTSDIR}/multimedia/emovix
.endif
.if defined (WITH_NORMALIZE)
RUN_DEPENDS+= normalize:${PORTSDIR}/audio/normalize
.endif
.if defined (WITH_SOX)
RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox
.endif
.if defined (WITH_VCDIMAGER)
RUN_DEPENDS+= vcdxrip:${PORTSDIR}/multimedia/vcdimager
.endif
.include <bsd.port.post.mk>