1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/editors/tea/Makefile
Alexey Dokuchaev c3405b7788 - Update to version 7.0 and unbreak
- Provide better port description

Approved by:	maintainer timeout
2005-02-14 07:20:19 +00:00

42 lines
890 B
Makefile

# New ports collection makefile for: TEA
# Date created: 13 Jul 2004
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= tea
PORTVERSION= 7.0
CATEGORIES= editors
MASTER_SITES= http://tea.linux.kiev.ua/
DISTNAME= ${PORTNAME}
MAINTAINER= jylefort@brutele.be
COMMENT= A simple and powerful GTK+ text editor
.if defined(WITH_ASPELL)
LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
.endif
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GCC= 3.4
USE_GNOME= gtk20
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-everything::
.if !defined(WITH_ASPELL)
@${ECHO_MSG} "Define WITH_ASPELL to build with aspell support"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/tea/doc/|/doc/tea/|' \
${WRKSRC}/src/tea_defs.h
.include <bsd.port.mk>