aboutsummaryrefslogtreecommitdiff
path: root/editors/textroom/Makefile
blob: 544f23801917117c414ae11bfc90bf2b530c517a (plain) (blame)
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
# Created by: admin@mjbrune.org
# $FreeBSD$

PORTNAME=	textroom
PORTVERSION=	0.8.2
PORTREVISION=	11
CATEGORIES=	editors
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Full screen text editor

LICENSE=	GPLv3

LIB_DEPENDS=	libcurl.so:ftp/curl \
		libhunspell-1.6.so:textproc/hunspell \
		libxml++-2.6.so:textproc/libxml++26

USES=		compiler:c++11-lang desktop-file-utils pkgconfig qmake qt:4
USE_CXXSTD=	c++11
USE_GL=		gl
USE_SDL=	mixer
USE_QT=		moc_build rcc_build uic_build \
		corelib gui opengl qt3support svg xml

post-patch:
.for i in getaword.cpp optionsdialog.cpp textroom.cpp
	@${REINPLACE_CMD} -e \
		's|/usr/share|${PREFIX}/share|' ${WRKSRC}/application/src/${i}
.endfor

post-install:
	@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/textroom

.include <bsd.port.mk>