aboutsummaryrefslogtreecommitdiff
path: root/ftp/gwget
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-02-20 18:20:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-02-20 18:20:52 +0000
commitae32faecdf3e325ba86c2fcd674aa31132c0038f (patch)
tree6e448ff02d60daf4e7c9e76c30296a5a19227d23 /ftp/gwget
parent892958e8ec72583303a13d59f8d729e24a307b87 (diff)
downloadports-ae32faecdf3e325ba86c2fcd674aa31132c0038f.tar.gz
ports-ae32faecdf3e325ba86c2fcd674aa31132c0038f.zip
Notes
Diffstat (limited to 'ftp/gwget')
-rw-r--r--ftp/gwget/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/ftp/gwget/Makefile b/ftp/gwget/Makefile
index 604e60a2c4f0..034b27c4738e 100644
--- a/ftp/gwget/Makefile
+++ b/ftp/gwget/Makefile
@@ -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>