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

PORTNAME=   pluma
PORTVERSION=    1.8.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_XORG=   sm x11
USE_GNOME=  gnomehier gtk20 gtksourceview2 gvfs intlhack libxml2 \
        pygobject pygtk2 pygtksourceview
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-gtk-doc \
        --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

.include <bsd.port.mk>