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

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

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

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

USES=		qmake shared-mime-info
USE_SDL=	mixer
USE_QT4=	moc_build qmake_build rcc_build uic_build corelib gui xml \
		svg opengl qt3support
QMAKE_ARGS=	LOCALBASE=${LOCALBASE}

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

.include <bsd.port.mk>