diff options
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> |