41ff4e536e
- Add missing dependencies - Remove unneeded patches - Regenerate and rename legacy patches - Add NLS option to ports providing such a knob, and missing the option - Add INSTALL_TARGET=install-strip where missing - Sort things - Remove unneeded += - Cosmetic changes to OPTION related variables to improve readability - Update WWW - Silence portlint warnings about variables order - Bump PORTREVISION where changing dependencies and/or adding install-strip
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# Created by: Olivier Duchateau
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dashboard
|
|
PORTVERSION= 0.6.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11 xfce
|
|
MASTER_SITES= XFCE/src/apps/xfdashboard/${PORTVERSION:R}/
|
|
PKGNAMEPREFIX= xfce4-
|
|
DISTNAME= xfdashboard-${DISTVERSIONFULL}
|
|
DIST_SUBDIR= xfce4
|
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
|
COMMENT= GNOME shell like dashboard for the Xfce desktop
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
|
|
libdbus-1.so:devel/dbus \
|
|
libjson-glib-1.0.so:devel/json-glib \
|
|
libcogl.so:graphics/cogl \
|
|
libclutter-1.0.so:graphics/clutter
|
|
|
|
USES= gettext-tools gmake gnome localbase libtool pathfix perl5 pkgconfig \
|
|
tar:bzip2 xfce:gtk3
|
|
USE_GNOME= cairo glib20 gtk30 intlhack intltool libwnck3
|
|
USE_XFCE= garcon
|
|
USE_XORG= x11 xcomposite xdamage xext xfixes xi xinerama xrandr
|
|
USE_GL= egl gl
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext-runtime
|
|
|
|
post-patch:
|
|
# Decrease default value of desaturation factor (0.0 -> no desaturation)
|
|
# With some graphics cards, quick launch icons are totally black with
|
|
# default value
|
|
${FIND} ${WRKSRC}/data/themes -type f -name 'effects.xml' \
|
|
| ${XARGS} ${REINPLACE_CMD} -i "" 's|>1.0<|>0.45<|'
|
|
|
|
.include <bsd.port.mk>
|