mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
a29ecd5fd7
- Project has moved to SourceForge - Install README file
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# New ports collection makefile for: TEA
|
|
# Date created: 13 Jul 2004
|
|
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tea
|
|
DISTVERSION= 14.2.4
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= tea-editor
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= A simple and powerful GTK+ text editor
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GCC= 3.3+
|
|
USE_GETTEXT= yes
|
|
USE_GNOME= gtk20
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
OPTIONS= TEA_ONLY "Build original GTK-only version" on \
|
|
ASPELL "Build with GNU aspell support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_TEA_ONLY)
|
|
CONFIGURE_ARGS+= --enable-legacy
|
|
.else
|
|
USE_GNOME+= gtksourceview
|
|
.endif
|
|
|
|
.if defined(WITH_ASPELL)
|
|
LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/tea/doc/|/doc/tea/|' \
|
|
${WRKSRC}/src/tea_defs.h
|
|
@${REINPLACE_CMD} -e '4373d; 4376,4379d' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e '568d' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.post.mk>
|