aboutsummaryrefslogtreecommitdiff
path: root/deskutils/qtm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/qtm/Makefile')
-rw-r--r--deskutils/qtm/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/deskutils/qtm/Makefile b/deskutils/qtm/Makefile
index 0bc85bb1f28b..2694f6d5f6f5 100644
--- a/deskutils/qtm/Makefile
+++ b/deskutils/qtm/Makefile
@@ -13,23 +13,14 @@ MASTER_SITES= SF/catkin
MAINTAINER= ports@FreeBSD.org
COMMENT= Blog management application based on Qt 4
-BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
-
USE_QT_VER= 4
QT_COMPONENTS= corelib gui rcc network xml moc_build qmake_build uic_build
+USE_CMAKE= yes
+CMAKE_ARGS+= -DMANPAGE_DIRECTORY="${MANPREFIX}/man/man1"
MANCOMPRESSED= yes
MAN1= qtm.1
-pre-build:
- @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} cmake . \
- -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
- -DCMAKE_C_FLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
- -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
- -DCMAKE_C_LINK_FLAGS="${PTHREAD_LIBS}" \
- -DCMAKE_CXX_LINK_FLAGS="${PTHREAD_LIBS}" \
- -DMANPAGE_DIRECTORY="${MANPREFIX}/man/man1"
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}