Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2017 12:51:50 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447461 - head/multimedia/xmms
Message-ID:  <201708061251.v76Cpo9N010043@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Aug  6 12:51:50 2017
New Revision: 447461
URL: https://svnweb.freebsd.org/changeset/ports/447461

Log:
  multimedia/xmms:
  - Switch to options helpers
  - USES=localbase
  - Add LICENSE_FILE

Modified:
  head/multimedia/xmms/Makefile

Modified: head/multimedia/xmms/Makefile
==============================================================================
--- head/multimedia/xmms/Makefile	Sun Aug  6 12:17:52 2017	(r447460)
+++ head/multimedia/xmms/Makefile	Sun Aug  6 12:51:50 2017	(r447461)
@@ -14,10 +14,11 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	X Multimedia System -- audio player with Winamp GUI
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 CONFLICTS?=	ru-xmms-[0-9]* zh-xmms-[0-9]*
 GNU_CONFIGURE=	yes
-USES=		desktop-file-utils gmake iconv libtool pathfix tar:bzip2
+USES=		desktop-file-utils gmake iconv libtool localbase pathfix tar:bzip2
 USE_GNOME=	gtk12
 USE_LDCONFIG=	yes
 USE_XORG=	sm x11 xxf86vm
@@ -26,8 +27,6 @@ CONFIGURE_ARGS=	xmms_cv_newpcm_driver=yes --disable-st
 CONFIGURE_ENV=	INPUT_PLUGINS="${INPUT_PLUGINS}" \
 		OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
 		VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 INPUT_PLUGINS=	cdaudio mpg123 tonegen wav
 OUTPUT_PLUGINS=	OSS disk_writer
@@ -41,11 +40,13 @@ OPTIONS_SUB=	yes
 
 ESOUND_CONFIGURE_ENABLE=esd
 ESOUND_USE=		GNOME=esound
+ESOUND_VARS=		OUTPUT_PLUGINS+=esd
 
 IPV6_CONFIGURE_ENABLE=	ipv6
 
 MIKMOD_CONFIGURE_ENABLE=mikmod
 MIKMOD_LIB_DEPENDS=	libmikmod.so:audio/libmikmod
+MIKMOD_VARS=		INPUT_PLUGINS+=mikmod
 
 NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=		gettext
@@ -55,33 +56,17 @@ SIMD_CONFIGURE_ENABLE=	simd
 SPEC_DESC=		Visualization opengl_spectrum
 SPEC_CONFIGURE_ENABLE=	opengl
 SPEC_USE=		GL=gl
+SPEC_VARS=		VISUALIZATION_PLUGINS+=opengl_spectrum
 
 VFILEINFO_DESC=		Enable Extended Vorbis Fileinfo
 VFILEINFO_CPPFLAGS=	-DALL_VORBIS_TAGS
 
 VORBIS_CONFIGURE_ENABLE=vorbis
 VORBIS_LIB_DEPENDS=	libvorbis.so:audio/libvorbis
+VORBIS_VARS=		INPUT_PLUGINS+=vorbis
 
 .if !defined(WITH_DEBUG)
 INSTALL_TARGET=	install-strip
-.endif
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MESOUND}
-OUTPUT_PLUGINS+=	esd
-.endif
-
-.if ${PORT_OPTIONS:MMIKMOD}
-INPUT_PLUGINS+=	mikmod
-.endif
-
-.if ${PORT_OPTIONS:MVORBIS}
-INPUT_PLUGINS+=	vorbis
-.endif
-
-.if ${PORT_OPTIONS:MSPEC}
-VISUALIZATION_PLUGINS+=	opengl_spectrum
 .endif
 
 post-patch:



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