blob: 0bc85bb1f28b23f167bbff5ecb6ca26f282941c1 (
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
35
36
37
38
39
40
41
|
# New ports collection makefile for: qtm
# Date created: 22 Jun 2007
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= qtm
PORTVERSION= 0.6.0.1
CATEGORIES= deskutils
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
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}
.for doc in Changelog INSTALL README
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|