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

PORTNAME=   qtm
PORTVERSION=    1.3.3
CATEGORIES= deskutils
MASTER_SITES=   SF/catkin/${PORTNAME}-1.3 \
        http://www.c-s.li/ports/

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

LICENSE=    GPLv2

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

MANCOMPRESSED=  yes
MAN1=       qtm.1

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

.include <bsd.port.mk>