aboutsummaryrefslogtreecommitdiffstats
path: root/x11/mate-dialogs/Makefile
blob: 416c496a673a097604401ef052a27ee9b4ddc297 (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
# Created by: Franz Klammer <klammer@webonaut.com>
# $FreeBSD$

PORTNAME=   mate-dialogs
PORTVERSION=    1.6.2
CATEGORIES= x11 mate
MASTER_SITES=   MATE
DIST_SUBDIR=    mate

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Display MATE dialogs from the command line

BUILD_DEPENDS=  rarian-sk-config:${PORTSDIR}/textproc/rarian
RUN_DEPENDS=    rarian-sk-config:${PORTSDIR}/textproc/rarian

PORTSCOUT=  limitw:1,even

USES=       gettext gmake pathfix pkgconfig tar:xz
USE_MATE=   docutils
USE_GNOME=  gnomehier glib20 gtk20 intlhack
INSTALLS_OMF=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-gtk=2.0
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_DEFINE= NOTIFY
OPTIONS_DEFAULT=NOTIFY

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNOTIFY}
LIB_DEPENDS+=   libnotify.so:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=--enable-libnotify
.else
CONFIGURE_ARGS+=--disable-libnotify
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|bin_SCRIPTS = gdialog||g' \
        ${WRKSRC}/src/Makefile.am

.include <bsd.port.mk>