summaryrefslogtreecommitdiffstats
path: root/editors/gedit2/Makefile
blob: 91e80e42e48c53b7697f91f5c93b21b711537a30 (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
# New ports collection makefile for:    gedit2
# Date created:             14 May 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD: ports/editors/gedit2/Makefile,v 1.56 2003/04/04 07:32:45 marcus Exp $
#

PORTNAME=   gedit2
PORTVERSION=    2.3.2
CATEGORIES= editors gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.3
DISTNAME=   gedit-${PORTVERSION}
DIST_SUBDIR=    gnome2

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

LIB_DEPENDS=    pspell.15:${PORTSDIR}/textproc/aspell \
        gtksourceview-1.0.0:${PORTSDIR}/x11-toolkits/gtksourceview

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_REINPLACE=  yes
INSTALLS_SHLIB= yes
USE_GMAKE=  yes
USE_LIBTOOL=    yes
USE_GNOME=  gnomeprefix gnomehack gnomehier libgnomeprintui libgnomeui \
        eel2
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
PLIST_SUB=  VERSION="2.4"

MAN1=       gedit.1

XXX_FILES=  GNOME_Gedit-common.c GNOME_Gedit-skels.c \
        GNOME_Gedit-stubs.c GNOME_Gedit.h

post-extract:
.for i in ${XXX_FILES}
    @${RM} -f ${WRKSRC}/gedit/${i}
.endfor

.include <bsd.port.mk>