svn commit: r360590 - head/x11/zenity

Baptiste Daroussin bapt at FreeBSD.org
Fri Jul 4 09:58:50 UTC 2014


Author: bapt
Date: Fri Jul  4 09:58:49 2014
New Revision: 360590
URL: http://svnweb.freebsd.org/changeset/ports/360590
QAT: https://qat.redports.org/buildarchive/r360590/

Log:
  Add dependency on perl (run)
  Use options helpers
  Use modern lib_depends

Modified:
  head/x11/zenity/Makefile

Modified: head/x11/zenity/Makefile
==============================================================================
--- head/x11/zenity/Makefile	Fri Jul  4 09:57:37 2014	(r360589)
+++ head/x11/zenity/Makefile	Fri Jul  4 09:58:49 2014	(r360590)
@@ -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 
 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>


More information about the svn-ports-all mailing list