freebsd-ports/x11/xfce4-verve-plugin/Makefile
Olivier Duchateau 7f0af871cf - Support STAGEDIR
While I'm here
- Use USES= gmake
- Convert to new LIB_DEPENDS syntax
- Add LICENSE
2014-01-29 14:51:57 +00:00

51 lines
1.1 KiB
Makefile

# Created by: Martin Wilke (miwi@FreeBSD.org)
# $FreeBSD$
PORTNAME= verve-plugin
PORTVERSION= 1.0.0
PORTREVISION= 8
CATEGORIES= x11 xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=src/panel-plugins/${PKGNAMEPREFIX}${PORTNAME}/${PORTVERSION:R}
PKGNAMEPREFIX= xfce4-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Command line plugin for Xfce4
LICENSE= GPLv2
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GNOME= glib20 intltool intlhack
USE_XFCE= configenv panel libexo libgui libutil
USES= pkgconfig pathfix gmake
OPTIONS_DEFINE= NLS DBUS
OPTIONS_DEFAULT= NLS DBUS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
CONFIGURE_ARGS+=--enable-dbus
PLIST_SUB+= DBUS=""
.else
CONFIGURE_ARGS+=--disable-dbus
PLIST_SUB+= DBUS="@comment "
.endif
.include <bsd.port.mk>