aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2012-09-09 07:40:33 +0800
committerehaupt <ehaupt@FreeBSD.org>2012-09-09 07:40:33 +0800
commit74e53171d6619812303678b6392f99e8f827bc62 (patch)
treeac1a2a3ea03886feb498e227935cbb14a21bb8d2 /deskutils
parent1dca6e92a897395fd9b5aa74b59bee289b65bc18 (diff)
downloadfreebsd-ports-gnome-74e53171d6619812303678b6392f99e8f827bc62.tar.gz
freebsd-ports-gnome-74e53171d6619812303678b6392f99e8f827bc62.tar.zst
freebsd-ports-gnome-74e53171d6619812303678b6392f99e8f827bc62.zip
- Use OPTIONSng
- Remove deprecated header information
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/xfce4-notifyd/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/deskutils/xfce4-notifyd/Makefile b/deskutils/xfce4-notifyd/Makefile
index 9d50f97bd008..2886e722ea8e 100644
--- a/deskutils/xfce4-notifyd/Makefile
+++ b/deskutils/xfce4-notifyd/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: xfce4-notifyd
-# Date created: 22 Oct 2009
-# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= xfce4-notifyd
PORTVERSION= 0.2.2
@@ -18,7 +13,7 @@ COMMENT= Visually-appealing notification daemon for Xfce
LICENSE= GPLv3
-LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+LIB_DEPENDS= dbus-glib:${PORTSDIR}/devel/dbus-glib \
notify:${PORTSDIR}/devel/libnotify
USE_AUTOTOOLS= libtool
@@ -36,13 +31,14 @@ CONFIGURE_ARGS= --disable-debug
CONFLICTS= notification-daemon-[0-9]* xfce4-notification-daemon-[0-9]* \
xfce4-notifyd-0.1*
-OPTIONS= NLS "Enable Native Language Support" on
-
MAN1= xfce4-notifyd-config.1
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= NLS
+OPTIONS_DEFAULT=NLS
+
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
@@ -54,4 +50,4 @@ PLIST_SUB+= NLS="@comment "
post-install:
@-update-desktop-database
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>