summaryrefslogtreecommitdiffstats
path: root/editors/gedit3/Makefile
blob: da687ced2cca115dfad7bb8abb763d9d123cd5eb (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/editors/gedit3/Makefile,v 1.32 2012/06/12 20:08:47 kwm Exp $

PORTNAME=   gedit
PORTVERSION=    3.6.2
CATEGORIES= editors gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A small but powerful text editor for GNOME 3 Desktop Environment

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
        ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas \
        itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    enchant:${PORTSDIR}/textproc/enchant \
        peas-gtk-1.0:${PORTSDIR}/devel/libpeas \
        soup-2.4:${PORTSDIR}/devel/libsoup
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
        ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas

CONFLICTS=  gedit-2.[0-9]*

LATEST_LINK=    gedit3
USE_XORG=   sm
USE_XZ=     yes
USES=       gettext pathfix desktop-file-utils pkgconfig
USE_PYTHON= yes
INSTALLS_OMF=   yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool
USE_GNOME=  gnomeprefix intlhack gtksourceview3 libxml2 \
        gnomedocutils pygobject3
CONFIGURE_ARGS= --disable-updater
CPPFLAGS+=  -I${LOCALBASE}/include -Wno-format-nonliteral
LDFLAGS+=   -L${LOCALBASE}/lib
PLIST_SUB=  VERSION="3.0"

MAN1=       gedit.1
GLIB_SCHEMAS=   org.gnome.gedit.enums.xml \
        org.gnome.gedit.gschema.xml \
        org.gnome.gedit.plugins.externaltools.gschema.xml \
        org.gnome.gedit.plugins.filebrowser.enums.xml \
        org.gnome.gedit.plugins.filebrowser.gschema.xml \
        org.gnome.gedit.plugins.pythonconsole.gschema.xml \
        org.gnome.gedit.plugins.time.enums.xml \
        org.gnome.gedit.plugins.time.gschema.xml

.include <bsd.port.mk>