aboutsummaryrefslogtreecommitdiffstats
path: root/x11/leechcraft/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/leechcraft/Makefile')
-rw-r--r--x11/leechcraft/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11/leechcraft/Makefile b/x11/leechcraft/Makefile
index c06bb44b7133..ffc947a6c5e9 100644
--- a/x11/leechcraft/Makefile
+++ b/x11/leechcraft/Makefile
@@ -3,7 +3,7 @@
PORTNAME= leechcraft
PORTVERSION= 0.6.70
-PORTREVISION= 30
+PORTREVISION= 31
CATEGORIES= x11
MASTER_SITES= http://dist.leechcraft.org/LeechCraft/0.6.70/
@@ -13,7 +13,7 @@ COMMENT= Cross-platform modular live environment
LICENSE= BSL
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/LICENSE
-LIB_DEPENDS= libqwt6.so:x11-toolkits/qwt6 \
+LIB_DEPENDS= libqwt6.so:x11-toolkits/qwt6@qt4 \
libpcre.so:devel/pcre \
libboost_program_options.so:devel/boost-libs
@@ -406,6 +406,10 @@ BROKEN= Lemon has not supported yet because depended by libnl
BROKEN= Otlozhu has not supported yet (not ported liblaretz)
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%QT_INCDIR%%|${QT_INCDIR}|g' \
+ -e 's|%%QT_LIBDIR%%|${QT_LIBDIR}|g' \
+ ${WRKSRC}/cmake/FindQwt.cmake
post-install:
@${FIND} -d ${STAGEDIR}${PREFIX}/include/leechcraft \
-type d -empty -exec ${RMDIR} {} \;