blob: 234e4537675cec3cc3a4f21d316aeba5298045b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: TEA
# Date created: 13 Jul 2004
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= tea
DISTVERSION= 33.0.0
PORTREVISION= 1
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>
|