aboutsummaryrefslogtreecommitdiffstats
path: root/editors/mousepad/Makefile
blob: 2aa8e31704f0597ee1751d5c8d5ee4fb60b5c0f1 (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
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
# $FreeBSD$
#

PORTNAME=   mousepad
PORTVERSION=    0.3.0
CATEGORIES= editors xfce
MASTER_SITES=   ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=    xfce4

MAINTAINER= xfce@FreeBSD.org
COMMENT=    Simple text editor for the Xfce Desktop

GNU_CONFIGURE=  yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USES=   desktop-file-utils gettext pathfix pkgconfig
USE_GNOME=  glib20 gtk20 intltool intlhack gtksourceview2
USE_XFCE=   configenv
USE_PERL5=  yes

OPTIONS_DEFINE= DBUS
OPTIONS_DEFAULT=    DBUS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS=    dbus-glib-1:${PORTSDIR}/devel/dbus-glib
CONFIGURE_ARGS+=--enable-dbus
.else
CONFIGURE_ARGS+=--disable-dbus
.endif

.include <bsd.port.mk>