Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 06:55:59 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329869 - head/audio/audex
Message-ID:  <201310090655.r996txdP079531@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Wed Oct  9 06:55:59 2013
New Revision: 329869
URL: http://svnweb.freebsd.org/changeset/ports/329869

Log:
  - Support staging
  - Convert LIB_DEPENDS to new syntax
  - Use options helpers

Modified:
  head/audio/audex/Makefile

Modified: head/audio/audex/Makefile
==============================================================================
--- head/audio/audex/Makefile	Wed Oct  9 06:54:26 2013	(r329868)
+++ head/audio/audex/Makefile	Wed Oct  9 06:55:59 2013	(r329869)
@@ -10,10 +10,9 @@ COMMENT=	KDE4 audio CD ripping utility
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	cdda_paranoia:${PORTSDIR}/audio/cdparanoia
+LIB_DEPENDS=	libcdda_paranoia.so:${PORTSDIR}/audio/cdparanoia
 
 USE_XZ=		yes
-NO_STAGE=	yes
 USES=		cmake
 USE_KDE4=	automoc4 kdeprefix kdelibs libkcddb libkcompactdisc
 USE_QT4=	gui dbus network svg xml \
@@ -21,38 +20,21 @@ USE_QT4=	gui dbus network svg xml \
 
 OPTIONS_DEFINE=		NLS EYED3 FAAC FLAC LAME VORBIS
 OPTIONS_DEFAULT=	FLAC VORBIS
+OPTIONS_SUB=		yes
 NO_OPTIONS_SORT=	yes
 
+NLS_USES=		gettext
+NLS_CMAKE_OFF=		-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
+
 EYED3_DESC=		Unicode MP3 tag support via audio/py-eyed3
+EYED3_RUN_DEPENDS=	eyeD3:${PORTSDIR}/audio/py-eyed3
+
+FAAC_RUN_DEPENDS=	faac:${PORTSDIR}/audio/faac
+
+FLAC_RUN_DEPENDS=	flac:${PORTSDIR}/audio/flac
 
-.include <bsd.port.options.mk>
+LAME_RUN_DEPENDS=	lame:${PORTSDIR}/audio/lame
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CMAKE_ARGS+=	-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
-PLIST_SUB+=	NLS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MEYED3}
-RUN_DEPENDS+=	eyeD3:${PORTSDIR}/audio/py-eyed3
-.endif
-
-.if ${PORT_OPTIONS:MFAAC}
-RUN_DEPENDS+=	faac:${PORTSDIR}/audio/faac
-.endif
-
-.if ${PORT_OPTIONS:MFLAC}
-RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
-.endif
-
-.if ${PORT_OPTIONS:MLAME}
-RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame
-.endif
-
-.if ${PORT_OPTIONS:MVORBIS}
-RUN_DEPENDS+=	oggenc:${PORTSDIR}/audio/vorbis-tools
-.endif
+VORBIS_RUN_DEPENDS=	oggenc:${PORTSDIR}/audio/vorbis-tools
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310090655.r996txdP079531>