diff options
author | wg <wg@FreeBSD.org> | 2013-10-31 04:22:20 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-10-31 04:22:20 +0800 |
commit | 071d76a48ea1b7a056f530d54d8953b33b25cd53 (patch) | |
tree | bb26db30bc353a59cd3b569c80bbc8ccf49b86f9 /x11 | |
parent | 6950f110ae7ef5f3fea17da7e3883d088d76a52c (diff) | |
download | freebsd-ports-gnome-071d76a48ea1b7a056f530d54d8953b33b25cd53.tar.gz freebsd-ports-gnome-071d76a48ea1b7a056f530d54d8953b33b25cd53.tar.zst freebsd-ports-gnome-071d76a48ea1b7a056f530d54d8953b33b25cd53.zip |
x11/lxpanel: pass maintainership
- Pass maintainership
- Use options helpers
Diffstat (limited to 'x11')
-rw-r--r-- | x11/lxpanel/Makefile | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/x11/lxpanel/Makefile b/x11/lxpanel/Makefile index b06fc5f5d86c..5f6da669d513 100644 --- a/x11/lxpanel/Makefile +++ b/x11/lxpanel/Makefile @@ -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> |