1 |
# $MidnightBSD$ |
2 |
# $FreeBSD: ports/editors/gedit/Makefile,v 1.66 2007/12/12 04:36:21 marcus Exp $ |
3 |
|
4 |
PORTNAME= gedit |
5 |
PORTVERSION= 3.28.1 |
6 |
CATEGORIES= editors gnome |
7 |
MASTER_SITES= GNOME |
8 |
DIST_SUBDIR= gnome |
9 |
|
10 |
MAINTAINER= ports@MidnightBSD.org |
11 |
COMMENT= Small but powerful text editor for GNOME 3 Desktop Environment |
12 |
|
13 |
LICENSE= gpl2 |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
16 |
BUILD_DEPENDS= python2.7:lang/python27 \ |
17 |
iso-codes>=0:misc/iso-codes \ |
18 |
vala:lang/vala \ |
19 |
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ |
20 |
itstool:textproc/itstool |
21 |
LIB_DEPENDS= libenchant.so:textproc/enchant \ |
22 |
libpeas-gtk-1.0.so:devel/libpeas \ |
23 |
libgspell-1.so:textproc/gspell \ |
24 |
libsoup-2.4.so:devel/libsoup |
25 |
RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ |
26 |
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ |
27 |
${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py3-libpeas \ |
28 |
python2.7:lang/python27 |
29 |
|
30 |
PORTSCOUT= limitw:1,even |
31 |
|
32 |
USES= compiler:c11 desktop-file-utils gettext gmake gnome libtool \ |
33 |
localbase pathfix pkgconfig python:3 shebangfix tar:xz |
34 |
USE_CSTD= c11 |
35 |
USE_GNOME= cairo gdkpixbuf2 gtksourceview3 intlhack introspection \ |
36 |
libxml2 pygobject3 |
37 |
SHEBANG_FILES= plugins/externaltools/data/send-to-fpaste.tool.in |
38 |
USE_XORG= sm x11 |
39 |
GNU_CONFIGURE= yes |
40 |
CONFIGURE_ARGS= --disable-updater \ |
41 |
--enable-python \ |
42 |
--enable-spell |
43 |
CPPFLAGS+= -Wno-error=format-nonliteral |
44 |
CFLAGS+= -Wno-error=format-nonliteral |
45 |
LDFLAGS+= -L${LOCALBASE}/lib |
46 |
USE_LDCONFIG= yes |
47 |
SHEBANG_FILES= plugins/externaltools/data/send-to-fpaste.tool.in |
48 |
PLIST_SUB= VERSION="3.14" |
49 |
INSTALL_TARGET= install-strip |
50 |
|
51 |
GLIB_SCHEMAS= org.gnome.gedit.enums.xml \ |
52 |
org.gnome.gedit.plugins.externaltools.gschema.xml \ |
53 |
org.gnome.gedit.gschema.xml \ |
54 |
org.gnome.gedit.plugins.filebrowser.enums.xml \ |
55 |
org.gnome.gedit.plugins.filebrowser.gschema.xml \ |
56 |
org.gnome.gedit.plugins.pythonconsole.gschema.xml \ |
57 |
org.gnome.gedit.plugins.time.enums.xml \ |
58 |
org.gnome.gedit.plugins.time.gschema.xml |
59 |
|
60 |
post-patch: |
61 |
@${REINPLACE_CMD} -e 's|=python|=${PYTHON_CMD}|g' \ |
62 |
${WRKSRC}/py-compile |
63 |
|
64 |
.include <bsd.port.mk> |