freebsd-ports/deskutils/qtm/Makefile

40 lines
932 B
Makefile

# New ports collection makefile for: qtm
# Date created: 22 Jun 2007
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= qtm
PORTVERSION= 1.1.1
CATEGORIES= deskutils
MASTER_SITES= SF/catkin/${PORTNAME}-1.1/${PORTNAME}-1.1
MAINTAINER= ports@FreeBSD.org
COMMENT= Blog management application based on Qt 4
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_USE_PTHREAD= yes
CMAKE_ARGS= -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
-DMANPAGE_DIRECTORY:STRING="${MANPREFIX}/man/man1" \
-DMARKDOWN_LOCATION:STRING="${LOCALBASE}/bin/markdown"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
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>