Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 20:22:20 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332167 - head/x11/lxpanel
Message-ID:  <201310302022.r9UKMKtF032016@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Wed Oct 30 20:22:20 2013
New Revision: 332167
URL: http://svnweb.freebsd.org/changeset/ports/332167

Log:
  x11/lxpanel: pass maintainership
  
  - Pass maintainership
  - Use options helpers

Modified:
  head/x11/lxpanel/Makefile

Modified: head/x11/lxpanel/Makefile
==============================================================================
--- head/x11/lxpanel/Makefile	Wed Oct 30 19:32:47 2013	(r332166)
+++ head/x11/lxpanel/Makefile	Wed Oct 30 20:22:20 2013	(r332167)
@@ -7,7 +7,7 @@ PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION}/
 
-MAINTAINER=	wg@FreeBSD.org
+MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Lightweight X11 desktop panel
 
 LICENSE=	GPLv2 MIT
@@ -16,8 +16,14 @@ LICENSE_COMB=	dual
 LIB_DEPENDS=	libmenu-cache.so:${PORTSDIR}/x11/menu-cache
 RUN_DEPENDS=	${LOCALBASE}/share/desktop-directories/lxde-audio-video.directory:${PORTSDIR}/x11/lxmenu-data
 
-OPTIONS_DEFINE=	DOCS ALSA NLS
-OPTIONS_DEFAULT=NLS
+OPTIONS_DEFINE=	ALSA DOCS NLS
+OPTIONS_DEFAULT=
+OPTIONS_SUB=	yes
+
+ALSA_RUN_DEPENDS=	${LINUXBASE}/lib/libasound.so.2:${PORTSDIR}/audio/linux-f10-alsa-li
+ALSA_CONFIGURE_ENABLE=	alsa
+
+NLS_USES=	gettext
 
 USE_XORG=	x11 xmu
 USE_GNOME=	gtk20 libwnck
@@ -35,19 +41,6 @@ PORTDOCS=	AUTHORS README
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MALSA}
-RUN_DEPENDS+=	${LINUXBASE}/lib/libasound.so.2:${PORTSDIR}/audio/linux-f10-alsa-lib
-.else
-CONFIGURE_ARGS+=--disable-alsa
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-PLIST_SUB+=	NLS="@comment "
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's,linux,sys,' \
 		${WRKSRC}/src/plugins/volume/volume-impl.c
@@ -60,9 +53,7 @@ post-patch:
 .endif
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



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