aboutsummaryrefslogtreecommitdiffstats
path: root/editors/pluma/Makefile
blob: 8da013c99da46a08b9fb928fe4bfacad10dc3e3f (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pluma
PORTVERSION=    1.12.1
CATEGORIES= editors mate
MASTER_SITES=   MATE
DIST_SUBDIR=    mate

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Small but powerful text editor for MATE Desktop Environment

BUILD_DEPENDS=  itstool:${PORTSDIR}/textproc/itstool \
        ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
LIB_DEPENDS=    libenchant.so:${PORTSDIR}/textproc/enchant \
        libsoup-2.4.so:${PORTSDIR}/devel/libsoup
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes

PORTSCOUT=  limitw:1,even

USES=       desktop-file-utils gettext gmake libtool pathfix pkgconfig \
        python:2 shebangfix tar:xz
USE_MATE=   desktop
USE_XORG=   sm x11
USE_GNOME=  gtk20 gtksourceview2 gvfs intlhack libxml2 \
        pygobject pygtk2 pygtksourceview
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-gtk-doc \
        --with-gtk=2.0 \
        --with-html-dir=${PREFIX}/share/doc
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

SHEBANG_FILES=  ${WRKSRC}/plugins/externaltools/data/search-recursive.tool.in \
        ${WRKSRC}/plugins/externaltools/data/switch-c.tool.in

GLIB_SCHEMAS=   org.mate.pluma.gschema.xml \
        org.mate.pluma.plugins.filebrowser.gschema.xml \
        org.mate.pluma.plugins.time.gschema.xml

PLIST_SUB+= PYTHON=""

.include <bsd.port.mk>