summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-04 09:58:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-04 09:58:49 +0000
commitf817e54335dda869d1214e51f98324ac426b5006 (patch)
tree0939a2dfeedb7bdedf229cc859784adba2349150 /x11
parentUpdate to version 1.3.7. (diff)
Add dependency on perl (run)
Use options helpers Use modern lib_depends
Notes
Notes: svn path=/head/; revision=360590
Diffstat (limited to 'x11')
-rw-r--r--x11/zenity/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/x11/zenity/Makefile b/x11/zenity/Makefile
index 47b1e672f4ad..a9e6076d3441 100644
--- a/x11/zenity/Makefile
+++ b/x11/zenity/Makefile
@@ -4,7 +4,7 @@
PORTNAME= zenity
PORTVERSION= 2.32.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -15,9 +15,9 @@ COMMENT= Display GNOME dialogs from the command line
BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
-USES= pathfix gettext gmake pkgconfig
+USES= pathfix perl5 gettext gmake pkgconfig tar:bzip2
+USE_PERL5= run
USE_GNOME= gnomeprefix gtk20 gnomedocutils intlhack
-USE_BZIP2= yes
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -28,13 +28,7 @@ CONFLICTS= gtkada-1.2.*
OPTIONS_DEFINE= NOTIFY
OPTIONS_DEFAULT=NOTIFY
-.include <bsd.port.options.mk>
-
-.if !defined(WITHOUT_NOTIFY)
-LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
-CONFIGURE_ARGS+= --enable-libnotify
-.else
-CONFIGURE_ARGS+= --disable-libnotify
-.endif
+NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
+NOTIFY_CONFIGURE_ENABLE= libnotify
.include <bsd.port.mk>