freebsd-ports/editors/tea/Makefile

46 lines
1,020 B
Makefile
Raw Normal View History

# New ports collection makefile for: TEA
2005-03-20 13:00:11 +01:00
# Date created: 13 Jul 2004
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
2006-06-13 10:32:39 +02:00
PORTNAME= tea
2010-08-12 13:24:58 +02:00
DISTVERSION= 28.1.1
2006-06-13 10:32:39 +02:00
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}-editor/${PORTNAME}-editor/${PORTVERSION}
2006-06-13 10:32:39 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple and powerful Qt4-based text editor
LICENSE= GPLv3
2006-06-13 10:32:39 +02:00
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build rcc_build corelib gui script svg xml
PLIST_FILES= bin/${PORTNAME}
2006-06-13 10:32:39 +02:00
OPTIONS= ASPELL "Build with GNU Aspell support" on
2005-03-20 13:11:23 +01:00
.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} PREFIX=$PREFIX})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
2005-03-20 13:11:23 +01:00
.include <bsd.port.post.mk>