mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
03b42818c9
Reminded by: miwi
69 lines
1.6 KiB
Makefile
69 lines
1.6 KiB
Makefile
# New ports collection makefile for: audex
|
|
# Date Created: 2009-05-20
|
|
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= audex
|
|
DISTVERSION= 0.74b1
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio kde
|
|
MASTER_SITES= http://kde.maniatek.com/${PORTNAME}/files/
|
|
|
|
MAINTAINER= bsdkaffee@gmail.com
|
|
COMMENT= Audio CD ripping utility for KDE4
|
|
|
|
LIB_DEPENDS= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia \
|
|
kcddb.5:${PORTSDIR}/multimedia/kdemultimedia4
|
|
|
|
USE_XZ= yes
|
|
USE_CMAKE= yes
|
|
USE_KDE4= automoc4 kdeprefix kdelibs
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= gui dbus network svg xml \
|
|
qmake_build moc_build rcc_build uic_build
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
OPTIONS= NLS "Native language support" on \
|
|
FAAC "Depend on audio/faac for m4a encoding" off \
|
|
FLAC "Depend on audio/flac for flac encoding" on \
|
|
LAME "Depend on audio/lame for mp3 encoding" off \
|
|
EYED3 "Depend on audio/py-eyed3 for Unicode mp3 tags" off \
|
|
OGG "Depend on audio/vorbis-tools for ogg encoding" on
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CMAKE_ARGS+= -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
.if defined(WITH_FAAC)
|
|
RUN_DEPENDS+= faac:${PORTSDIR}/audio/faac
|
|
.endif
|
|
|
|
.if defined(WITH_FLAC)
|
|
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
|
|
.endif
|
|
|
|
.if defined(WITH_LAME)
|
|
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
|
|
.endif
|
|
|
|
.if defined(WITH_EYED3)
|
|
RUN_DEPENDS+= eyeD3:${PORTSDIR}/audio/py-eyed3
|
|
.endif
|
|
|
|
.if defined(WITH_OGG)
|
|
RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|