blob: 33d063432b371c1f6504cdd9460f5c0bf578a1d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Created by: Koop Mast <einekoai@chello.nl>
# $FreeBSD$
PORTNAME= workrave
PORTVERSION= 1.9.4
PORTREVISION= 3
CATEGORIES= x11 gnome
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= RSI prevention tool
BUILD_DEPENDS= gdome-config:${PORTSDIR}/textproc/gdome2
OPTIONS_DEFINE= GNOME NETWORK NLS
NETWORK_DESC= Build with network support
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
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
.include <bsd.port.mk>
|