9f15651281
Approved by: maintainer (timeout since 12 Jan)
41 lines
919 B
Makefile
41 lines
919 B
Makefile
# New ports collection makefile for: TEA
|
|
# Date created: 13 Jul 2004
|
|
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tea
|
|
DISTVERSION= 28.1.4
|
|
CATEGORIES= editors
|
|
MASTER_SITES= SF/${PORTNAME}-editor/${PORTNAME}-editor/${PORTVERSION}
|
|
|
|
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 corelib gui script svg 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
|
|
|
|
do-configure:
|
|
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|