diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-06-14 05:59:13 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-06-14 05:59:13 +0000 |
commit | 61f6fcd5fc789311a8c6a34ca0387f97ac6004d4 (patch) | |
tree | 1972962107dde10eb3725d7b34b86b13e401d8a0 /x11/workrave/Makefile | |
parent | - Update to 1.7.3 (diff) |
- Update to 1.10.1
PR: 190906
Submitted by: ports fury
Notes
Notes:
svn path=/head/; revision=357747
Diffstat (limited to 'x11/workrave/Makefile')
-rw-r--r-- | x11/workrave/Makefile | 77 |
1 files changed, 32 insertions, 45 deletions
diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile index 33d063432b37..d04e00b1f220 100644 --- a/x11/workrave/Makefile +++ b/x11/workrave/Makefile @@ -2,59 +2,46 @@ # $FreeBSD$ PORTNAME= workrave -PORTVERSION= 1.9.4 -PORTREVISION= 3 +PORTVERSION= 1.10.1 CATEGORIES= x11 gnome MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= RSI prevention tool -BUILD_DEPENDS= gdome-config:${PORTSDIR}/textproc/gdome2 +LICENSE= GPLv3 # (or later) -OPTIONS_DEFINE= GNOME NETWORK NLS -NETWORK_DESC= Build with network support +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>0:${PORTSDIR}/devel/py-cheetah +LIB_DEPENDS= libgdome.so:${PORTSDIR}/textproc/gdome2 -INSTALLS_ICONS= yes -DESKTOP_ENTRIES="Workrave" "RSI prevention tool" \ - "${DATADIR}/images/workrave-icon-small.png" \ - "workrave" \ - "Utility;" \ - false - -USE_XORG= x11 xmu recordproto xtst xext -USES= pathfix pkgconfig gmake -USE_GNOME= gnomeprefix intlhack gconf2 intltool -USE_GSTREAMER= good +USES= gettext gmake pathfix pkgconfig +USE_XORG= recordproto x11 xext xmu xscrnsaver xtst +USE_GNOME= intlhack gconf2 gnomehier gtkmm24 +USE_PYTHON= yes GNU_CONFIGURE= yes -LIBS+= -L${LOCALBASE}/lib `pkg-config --libs libgnomeui-2.0` -CONFIGURE_ARGS= --enable-gconf --disable-pulse - -.include <bsd.port.options.mk> -LIB_DEPENDS+= libgdome.so:${PORTSDIR}/textproc/gdome2 - -.if ${PORT_OPTIONS:MGNOME} -LIB_DEPENDS+= libgnomeuimm-2.6.so:${PORTSDIR}/x11-toolkits/libgnomeuimm26 -USE_GNOME+= gnomepanel -PLIST_SUB+= GNOME="" -.else -LIB_DEPENDS+= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 -CONFIGURE_ARGS+=--disable-gnome -PLIST_SUB+= GNOME="@comment " -.endif - -.if ${PORT_OPTIONS:MNETWORK} -LIB_DEPENDS+= libgnet-2.0.so:${PORTSDIR}/net/gnet2 -.else -CONFIGURE_ARGS+=--disable-distribution -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +CONFIGURE_ARGS= --disable-silent-rules --enable-gconf --disable-gnome3 \ + --disable-indicator +INSTALLS_ICONS= yes + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +OPTIONS_DEFINE= GNOME GSTREAMER PULSEAUDIO +OPTIONS_DEFAULT= GSTREAMER +OPTIONS_SUB= yes + +GNOME_USE= gnome=gnomepanel +GNOME_LIB_DEPENDS= libgnomeuimm-2.6.so:${PORTSDIR}/x11-toolkits/libgnomeuimm26 +GNOME_CONFIGURE_ENABLE= gnome2 +GSTREAMER_USE= gstreamer=good +GSTREAMER_CONFIGURE_ENABLE= gstreamer +PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio +PULSEAUDIO_CONFIGURE_ENABLE= pulse + +post-patch: + @${REINPLACE_CMD} -e \ + '/if test/s|==|=|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's| gnome-shell$$||' ${WRKSRC}/frontend/applets/Makefile.in .include <bsd.port.mk> |