1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/x11/lxpanel/Makefile
Alexandre C. Guimarães db490bfda4 x11/libfm, x11-fm/pcmanfm: update and flavorize both.
- update x11/libfm to version 1.3.1
- update x11-fm/pcmanfm to version 1.3.1
- convert both to flavors
- fix other affected ports

PR:		229944
Reviewed by:	adamw, antoine, bapt
Approved by:	mat (portmgr, mentor), tcberner (mentor), jsm (maintainer), Chris Hutchinson <portmaster@bsdforge.com> (maintainer)
Differential Revision:	https://reviews.freebsd.org/D16387
2019-01-07 15:08:08 +00:00

57 lines
1.6 KiB
Makefile

# Created by: Lin, Cheng-Tao <b89605222@ntu.edu.tw>
# $FreeBSD$
PORTNAME= lxpanel
PORTVERSION= 0.9.3
CATEGORIES= x11
MASTER_SITES= SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION:R}.x/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight X11 desktop panel
LICENSE= GPLv2+ MIT
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmenu-cache.so:x11/menu-cache \
libkeybinder.so:x11/keybinder \
libfm-gtk.so:x11/libfm@gtk2 \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS= ${LOCALBASE}/etc/xdg/menus/lxde-applications.menu:x11/lxmenu-data
USE_GNOME= glib20 gtk20 cairo gdkpixbuf2 libwnck intltool
USE_XORG= x11
USES= gmake libtool localbase pathfix pkgconfig tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--with-plugins="${LXPANEL_PLUGINS}"
INSTALL_TARGET= install-strip
# Panel plugins
LXPANEL_PLUGINS= "-netstat,-netstatus,deskno,-batt,kbled,xkb,-thermal,cpu,cpufreq,monitors,-indicator"
OPTIONS_SINGLE= SOUND
OPTIONS_SINGLE_SOUND= ALSA OSS
OPTIONS_DEFINE= NLS WEATHER
OPTIONS_DEFAULT= OSS WEATHER
OPTIONS_SUB= yes
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CONFIGURE_ENABLE= alsa
ALSA_VARS= lxpanel_plugins+=",-volume,volumealsa"
OSS_VARS= lxpanel_plugins+=",volume,-volumealsa"
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
NLS_USES_OFF= gettext-tools
WEATHER_USE= gnome=libxml2
WEATHER_VARS= lxpanel_plugins+=",weather"
WEATHER_VARS_OFF= lxpanel_plugins+=",-weather"
WEATHER_DESC= Weather plugin
post-patch-NLS-off:
@${REINPLACE_CMD} -e 's|po man|man|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>