[Midnightbsd-cvs] mports [17520] trunk/x11/zenity/Makefile: modernize
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Sep 26 21:40:35 EDT 2014
Revision: 17520
http://svnweb.midnightbsd.org/mports/?rev=17520
Author: laffer1
Date: 2014-09-26 21:40:34 -0400 (Fri, 26 Sep 2014)
Log Message:
-----------
modernize
Modified Paths:
--------------
trunk/x11/zenity/Makefile
Modified: trunk/x11/zenity/Makefile
===================================================================
--- trunk/x11/zenity/Makefile 2014-09-27 01:38:53 UTC (rev 17519)
+++ trunk/x11/zenity/Makefile 2014-09-27 01:40:34 UTC (rev 17520)
@@ -2,7 +2,7 @@
PORTNAME= zenity
PORTVERSION= 2.32.1
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -15,14 +15,13 @@
BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
-USES= pathfix gettext gmake pkgconfig tar:bzip2
+USES= pathfix perl5 gettext gmake pkgconfig tar:bzip2
+USE_PERL5= run
USE_GNOME= gnomeprefix gtk20 gnomedocutils intlhack
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib -lintl
-CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib -lintl
CONFLICTS= gtkada-1.2.*
@@ -29,13 +28,7 @@
OPTIONS_DEFINE= NOTIFY
OPTIONS_DEFAULT=NOTIFY
-.include <bsd.mport.options.mk>
+NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
+NOTIFY_CONFIGURE_ENABLE= libnotify
-.if !defined(WITHOUT_NOTIFY)
-LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
-CONFIGURE_ARGS+= --enable-libnotify
-.else
-CONFIGURE_ARGS+= --disable-libnotify
-.endif
-
.include <bsd.port.mk>
More information about the Midnightbsd-cvs
mailing list