blob: bb678cec1a499e0a65f3b8872378b5ea92356573 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# New ports collection makefile for: gedit2
# Date created: 14 May 2002
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/editors/gedit/Makefile,v 1.38 2006/07/11 05:55:18 marcus Exp $
#
PORTNAME= gedit
PORTVERSION= 2.15.4
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A small but powerful text editor for Gnome 2 Desktop Environment
LIB_DEPENDS= pspell.16:${PORTSDIR}/textproc/aspell
USE_BZIP2= yes
USE_GETTEXT= yes
USE_XLIB= yes
INSTALLS_OMF= yes
INSTALLS_SHLIB= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomeprefix gnomehack intlhack \
libgnomeprintui libgnomeui eel2 gtksourceview desktopfileutils
WANT_GNOME= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PLIST_SUB= VERSION="2.14"
MAN1= gedit.1
GCONF_SCHEMAS= gedit.schemas
.if defined(PACKAGE_BUILDING)
.undef WITHOUT_GNOME
WITH_GNOME= yes
.endif
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mpygnomedesktop}!="" && ${ARCH}!="sparc64"
USE_PYTHON= yes
.include "${PORTSDIR}/Mk/bsd.python.mk"
USE_GNOME+= pygnomedesktop
CONFIGURE_ARGS+=--enable-python
PLIST_SUB+= PYTHON=""
.else
CONFIGURE_ARGS+=--disable-python
PLIST_SUB+= PYTHON="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|make|${GMAKE}|g' \
${WRKSRC}/bindings/python/Makefile.in
pre-build:
${MKDIR} ${WRKSRC}/bindings/python/.deps
.for ff in gedit_la-gedit.Plo gedit_la-geditcommands.Plo gedit_la-geditutils.Plo
${TOUCH} ${WRKSRC}/bindings/python/.deps/${ff}
.endfor
post-install:
@-update-desktop-database
.include <bsd.port.post.mk>
|