Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2012 23:40:33 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303939 - head/deskutils/xfce4-notifyd
Message-ID:  <201209082340.q88NeXrf071577@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sat Sep  8 23:40:33 2012
New Revision: 303939
URL: http://svn.freebsd.org/changeset/ports/303939

Log:
  - Use OPTIONSng
  - Remove deprecated header information

Modified:
  head/deskutils/xfce4-notifyd/Makefile

Modified: head/deskutils/xfce4-notifyd/Makefile
==============================================================================
--- head/deskutils/xfce4-notifyd/Makefile	Sat Sep  8 23:06:10 2012	(r303938)
+++ head/deskutils/xfce4-notifyd/Makefile	Sat Sep  8 23:40:33 2012	(r303939)
@@ -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
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209082340.q88NeXrf071577>