summaryrefslogtreecommitdiffstats
path: root/editors/tea/Makefile
blob: a82d227be1a1cb264e89610124c48669c05facab (plain)
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
# New ports collection makefile for:	TEA
# Date created:			13 Jul 2004
# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=		tea
PORTVERSION=		2.0
PORTREVISION=	1
CATEGORIES=		editors
MASTER_SITES=		http://tea.linux.kiev.ua/
DISTNAME=		${PORTNAME}

MAINTAINER=		jylefort@brutele.be
COMMENT=		A simple GTK+ text editor

WRKSRC=			${WRKDIR}/${PORTNAME}-${PORTVERSION}

BROKEN=			Size mismatch

USE_X_PREFIX=		yes
USE_BZIP2=		yes
USE_REINPLACE=		yes
GNU_CONFIGURE=		yes
USE_GCC=		3.3
USE_GNOME=		gtk20
CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
			LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/share/doc/tea|${DOCSDIR}|g' \
		${WRKSRC}/Makefile.in \
		${WRKSRC}/src/tea_funx.c

.include <bsd.port.mk>
OpenPOWER on IntegriCloud