summaryrefslogtreecommitdiff
path: root/editors/textroom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/textroom/Makefile')
-rw-r--r--editors/textroom/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/editors/textroom/Makefile b/editors/textroom/Makefile
index 6a13433060df..c8e514ac8d48 100644
--- a/editors/textroom/Makefile
+++ b/editors/textroom/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= textroom
-PORTVERSION= 0.6.5
+PORTVERSION= 0.8.2
CATEGORIES= editors
MASTER_SITES= SF
@@ -14,21 +14,26 @@ MAINTAINER= admin@mjbrune.org
COMMENT= A full screen text editor
BUILD_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info
-LIB_DEPENDS= hunspell-1.2:${PORTSDIR}/hungarian/hunspell
+LIB_DEPENDS= hunspell-1.2:${PORTSDIR}/hungarian/hunspell \
+ xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \
+ curl.6:${PORTSDIR}/ftp/curl
RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info
USE_SDL= mixer
USE_QT_VER= 4
-QT_COMPONENTS= moc_build qmake_build rcc_build uic_build corelib gui
+QT_COMPONENTS= moc_build qmake_build rcc_build uic_build corelib gui xml \
+ svg opengl qt3support
QMAKE_ARGS= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
HAS_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
post-patch:
- @${REINPLACE_CMD} -e 's|-lhunspell|-lhunspell-1.2|' \
- ${WRKSRC}/textroom.pro
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
- ${WRKSRC}/src/textroom.cpp
+ ${WRKSRC}/application/src/textroom.cpp
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
+ ${WRKSRC}/application/src/getaword.cpp
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
+ ${WRKSRC}/application/src/optionsdialog.cpp
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \