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

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

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

LICENSE=	GPLv3

LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
		libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
		libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26

USES=		desktop-file-utils pkgconfig qmake
USE_GL=		gl
USE_SDL=	mixer
USE_QT4=	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>