mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
c95de3d630
- Trim Makefile header Approved by: davide (implicit due to inactivity)
42 lines
933 B
Makefile
42 lines
933 B
Makefile
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tea
|
|
DISTVERSION= 33.4.0
|
|
CATEGORIES= editors
|
|
MASTER_SITES= SF/${PORTNAME}-editor/${PORTNAME}-editor/${PORTVERSION} \
|
|
http://semiletov.ho.ua/${PORTNAME}-releases/
|
|
|
|
MAINTAINER= davide.italiano@gmail.com
|
|
COMMENT= Simple and powerful Qt4-based text editor
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USE_BZIP2= yes
|
|
USE_QT4= qmake_build moc_build rcc_build gui xml
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= ASPELL
|
|
OPTIONS_DEFAULT= ASPELL
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MASPELL}
|
|
LIB_DEPENDS= aspell:${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>
|