mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
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.2
|
|
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_XLIB= 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
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/aspell/s,/usr,${LOCALBASE},' ${WRKSRC}/src.pro
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6/include/X11|X11|' ${WRKSRC}/qxtwindowsystem_x11.cpp
|
|
|
|
do-configure:
|
|
@(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${QMAKE} ${QMAKEFLAGS} PREFIX=$PREFIX})
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|