Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 00:01:21 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352184 - head/sysutils/gnome-schedule
Message-ID:  <201404260001.s3Q01L4t015819@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Apr 26 00:01:20 2014
New Revision: 352184
URL: http://svnweb.freebsd.org/changeset/ports/352184
QAT: https://qat.redports.org/buildarchive/r352184/

Log:
  Support stage
  Use options framework

Modified:
  head/sysutils/gnome-schedule/Makefile

Modified: head/sysutils/gnome-schedule/Makefile
==============================================================================
--- head/sysutils/gnome-schedule/Makefile	Fri Apr 25 23:59:21 2014	(r352183)
+++ head/sysutils/gnome-schedule/Makefile	Sat Apr 26 00:01:20 2014	(r352184)
@@ -4,7 +4,7 @@
 
 PORTNAME=	gnome-schedule
 PORTVERSION=	2.1.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-2/${PORTNAME}-${PORTVERSION}
 
@@ -13,33 +13,23 @@ COMMENT=	GNOME GUI for configuring a use
 
 LICENSE=	GPLv2
 
+OPTIONS_DEFINE=	APPLET NLS
+OPTIONS_DEFAULT=	APPLET
+OPTIONS_SUB=	yes
+
 BUILD_DEPENDS=	yelp:${PORTSDIR}/x11/yelp
 RUN_DEPENDS=	yelp:${PORTSDIR}/x11/yelp
 
+USES=		gmake pathfix
 USE_PYTHON=	yes
-USE_GMAKE=	yes
-USE_GNOME=	gnomeprefix gnomehack pygnome2
+USE_GNOME=	gnomeprefix pygnome2
 INSTALLS_OMF=	yes
 GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
 
-.if  !defined(WITHOUT_APPLET)
-CONFIGURE_ARGS+=	--enable-applet
-PLIST_SUB+=	APPLET=""
-.else
-CONFIGURE_ARGS+=	--disable-applet
-PLIST_SUB+=	APPLET="@comment "
-.endif
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+APPLET_CONFIGURE_ENABLE=	applet
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	--disable-nls
 
 post-extract:
 	@${RM} ${WRKSRC}/src/config.py



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