Date: Wed, 20 Feb 2013 18:20:53 +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: r312650 - head/ftp/gwget Message-ID: <201302201820.r1KIKrqE078396@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Feb 20 18:20:52 2013 New Revision: 312650 URL: http://svnweb.freebsd.org/changeset/ports/312650 Log: Convert to new options framework Modified: head/ftp/gwget/Makefile Modified: head/ftp/gwget/Makefile ============================================================================== --- head/ftp/gwget/Makefile Wed Feb 20 18:17:06 2013 (r312649) +++ head/ftp/gwget/Makefile Wed Feb 20 18:20:52 2013 (r312650) @@ -1,9 +1,5 @@ -# New ports collection makefile for: gwget -# Date created: 1 November 2004 -# Whom: Radek Kozlowski <radek@raadradd.com> -# +# Created by: Radek Kozlowski <radek@raadradd.com> # $FreeBSD$ -# PORTNAME= gwget PORTVERSION= 1.0.4 @@ -18,8 +14,9 @@ COMMENT= GNOME wget front-end LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget -OPTIONS= LIBNOTIFY "Enable libnotify support" on \ - EPIPHANY "Enable Epiphany extension" on +OPTIONS_DEFINE= NOTIFY EPIPHANY +OPTIONS_DEFAULT= NOTIFY EPIPHANY +EPIPHANY_DESC= Epiphany extension USE_BZIP2= yes USE_GMAKE= yes @@ -33,16 +30,16 @@ LDFLAGS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= ${PORTNAME}.schemas -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_LIBNOTIFY) +.if ${PORT_OPTIONS:MNOFITY} LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify RUN_DEPENDS+= ${LOCALBASE}/libexec/notification-daemon:${PORTSDIR}/deskutils/notification-daemon .else CONFIGURE_ARGS+= --disable-libnotify .endif -.if defined(WITH_EPIPHANY) +.if ${PORT_OPTIONS:MEPIPHANY} BUILD_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany RUN_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany CONFIGURE_ARGS+= --enable-epiphany-extension @@ -55,4 +52,4 @@ PLIST_SUB+= EPIPHANY="@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?201302201820.r1KIKrqE078396>