svn commit: r332167 - head/x11/lxpanel
William Grzybowski
wg at FreeBSD.org
Wed Oct 30 20:22:20 UTC 2013
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 at FreeBSD.org
+MAINTAINER= nemysis at 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>
More information about the svn-ports-all
mailing list