aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/qtm/Makefile
blob: 25eb9839bf46545a9af72fc614ab50f322082355 (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
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
#

PORTNAME=   qtm
PORTVERSION=    1.3.13
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_QT4=    corelib dbus gui network xml \
        moc_build qmake_build rcc_build uic_build
USE_OPENSSL=    yes
USES=       cmake
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>