svn commit: r305371 - head/audio/audex
Eitan Adler
eadler at FreeBSD.org
Sat Oct 6 14:52:15 UTC 2012
Author: eadler
Date: Sat Oct 6 14:52:14 2012
New Revision: 305371
URL: http://svn.freebsd.org/changeset/ports/305371
Log:
Covert to OptionsNG
Trim header file
Remove extraneous LICENSE_FILE
Modified:
head/audio/audex/Makefile
Modified: head/audio/audex/Makefile
==============================================================================
--- head/audio/audex/Makefile Sat Oct 6 14:42:04 2012 (r305370)
+++ head/audio/audex/Makefile Sat Oct 6 14:52:14 2012 (r305371)
@@ -1,9 +1,4 @@
-# New ports collection makefile for: audex
-# Date Created: 2009-05-20
-# Whom: Jason E. Hale <bsdkaffee at gmail.com>
-#
# $FreeBSD$
-#
PORTNAME= audex
DISTVERSION= 0.74b1
@@ -25,18 +20,14 @@ USE_QT4= gui dbus network svg xml \
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
+OPTIONS_DEFINE= FAAC FLAC LAME EYED3 OGG
+OPTIONS_DEFAULT= FLAC OGG
+EYED3_DESC= Unicode mp3 tags support
.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
+.if !${PORT_OPTIONS:MNLS}
CMAKE_ARGS+= -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
PLIST_SUB+= NLS="@comment "
.else
@@ -44,23 +35,23 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
-.if defined(WITH_FAAC)
+.if ${PORT_OPTIONS:MFAAC}
RUN_DEPENDS+= faac:${PORTSDIR}/audio/faac
.endif
-.if defined(WITH_FLAC)
+.if ${PORT_OPTIONS:MFLAC}
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
.endif
-.if defined(WITH_LAME)
+.if ${PORT_OPTIONS:MLAME}
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
.endif
-.if defined(WITH_EYED3)
+.if ${PORT_OPTIONS:MEYED3}
RUN_DEPENDS+= eyeD3:${PORTSDIR}/audio/py-eyed3
.endif
-.if defined(WITH_OGG)
+.if ${PORT_OPTIONS:MOGG}
RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools
.endif
More information about the svn-ports-head
mailing list