- conversion to USES framework

Approved by:	portmgr (bapt@)
This commit is contained in:
Jason Helfman 2013-05-01 16:13:45 +00:00
parent 6789dd6575
commit b2aa13a928
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317031
3 changed files with 23 additions and 23 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: lxpanel
# Date created: Sat Oct 7 01:22:35 CST 2006
# Whom: Lin, Cheng-Tao <b89605222@ntu.edu.tw>
#
# Created by: Lin, Cheng-Tao <b89605222@ntu.edu.tw>
# $FreeBSD$
#
PORTNAME= lxpanel
PORTVERSION= 0.5.12
@ -11,7 +7,7 @@ CATEGORIES= x11
MASTER_SITES= SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION}
MAINTAINER= kmoore@FreeBSD.org
COMMENT= LXPanel is a lightweight X11 desktop panel
COMMENT= Lightweight X11 desktop panel
LIB_DEPENDS= menu-cache.1:${PORTSDIR}/x11/menu-cache
RUN_DEPENDS= ${LOCALBASE}/share/desktop-directories/lxde-audio-video.directory:${PORTSDIR}/x11/lxmenu-data
@ -20,7 +16,8 @@ OPTIONS_DEFINE= ALSA NLS
OPTIONS_DEFAULT=NLS
USE_XORG= x11 xmu
USE_GNOME= gnomehack gtk20 pkgconfig libwnck
USE_GNOME= gtk20 libwnck
USES= pathfix pkgconfig
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:env
CONFIGURE_ARGS= --prefix=${PREFIX} \
@ -32,7 +29,7 @@ USE_GMAKE= yes
MAN1= lxpanel.1 lxpanelctl.1
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MALSA}
RUN_DEPENDS+= ${LINUXBASE}/lib/libasound.so.2:${PORTSDIR}/audio/linux-f10-alsa-lib
@ -41,7 +38,7 @@ CONFIGURE_ARGS+=--disable-alsa
.endif
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
@ -54,4 +51,4 @@ pre-patch:
@${REINPLACE_CMD} -e 's,$$(DATADIRNAME)/locale,share/locale,' \
${WRKSRC}/po/Makefile.in.in
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -29,16 +29,19 @@ INSTALLS_ICONS= yes
WANT_GNOME= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
PYSETUP+= --without-gettext
.endif
.include <bsd.port.pre.mk>
PYSETUP+= --without-icon-cache
.if empty(PORT_OPTIONS:MNLS)
PLIST_SUB+= NLS="@comment "
PYSETUP+= --without-gettext
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.if ${PORT_OPTIONS:MGCONF}
USE_GNOME+= pygnome2

View File

@ -12,7 +12,7 @@ PKGNAMEPREFIX= xfce4-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= xfce@FreeBSD.org
COMMENT= A command line plugin for Xfce4
COMMENT= Command line plugin for Xfce4
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
@ -20,18 +20,18 @@ USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gnomehack glib20 intltool intlhack
USE_GNOME= glib20 intltool intlhack
USE_XFCE= configenv panel libexo libgui libutil
USES= pkgconfig
USES= pkgconfig pathfix
CONFIGURE_ARGS= --disable-debug
OPTIONS_DEFINE= NLS DBUS
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
USES+= gettext
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
.else
@ -48,4 +48,4 @@ CONFIGURE_ARGS+=--disable-dbus
PLIST_SUB+= DBUS="@comment "
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>