aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/qtm/Makefile
blob: 9d3c0275d846ca4a0536d829680c903817de8d47 (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
# New ports collection makefile for:    qtm
# Date created:     22 Jun 2007
# Whom:         Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   qtm
PORTVERSION=    0.7.1.3
CATEGORIES= deskutils
MASTER_SITES=   SF/catkin

MAINTAINER= ports@FreeBSD.org
COMMENT=    Blog management application based on Qt 4

USE_QT_VER= 4
QT_COMPONENTS=  corelib dbus gui network xml \
        moc_build qmake_build rcc_build uic_build
USE_CMAKE=  yes
CMAKE_USE_PTHREAD=  yes
CMAKE_ARGS= -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
        -DMANPAGE_DIRECTORY="${MANPREFIX}/man/man1"

MANCOMPRESSED=  yes
MAN1=       qtm.1

post-install:
    @${STRIP_CMD} ${PREFIX}/bin/qtm
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for doc in Changelog INSTALL README
    ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>