1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/editors/tea/Makefile
Alexey Dokuchaev 7b3a335583 - Update to version 31.0.0, which no longer depends on script and svg Qt
components (due to upcoming porting to Qt5).  It means that TEA has no
  more built-in JavaScript interpreter and no SVG icons; also "evaluate"
  function now has a lesser functionality (no braces, no math functions
  except power and percent)
- Augment master sites while I'm here

Approved by:	maintainer (implicit due to inactivity)
2011-11-07 04:59:06 +00:00

46 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= 31.0.0
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}-editor/${PORTNAME}-editor/${PORTVERSION} \
http://semiletov.ho.ua/${PORTNAME}-releases/
MAINTAINER= davide.italiano@gmail.com
COMMENT= A simple and powerful Qt4-based text editor
LICENSE= GPLv3
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build gui xml
PLIST_FILES= bin/${PORTNAME}
OPTIONS= ASPELL "Build with GNU Aspell support" on
.include <bsd.port.pre.mk>
.if defined(WITH_ASPELL)
LIB_DEPENDS= aspell.16:${PORTSDIR}/textproc/aspell
QMAKEFLAGS= USE_ASPELL=true
.else
QMAKEFLAGS= USE_ASPELL=false
.endif
post-patch:
@${REINPLACE_CMD} -e '/aspell/s,/usr,${LOCALBASE},' ${WRKSRC}/src.pro
do-configure:
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>