2012-11-04 15:16:27 +01:00
|
|
|
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
2007-07-16 16:30:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qtm
|
2014-02-27 09:52:06 +01:00
|
|
|
PORTVERSION= 1.3.17
|
2007-07-16 16:30:43 +02:00
|
|
|
CATEGORIES= deskutils
|
2014-02-07 13:53:12 +01:00
|
|
|
MASTER_SITES= SF/catkin/${PORTNAME}-${PORTVERSION:R}
|
2007-07-16 16:30:43 +02:00
|
|
|
|
2014-01-31 00:15:35 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-07-16 16:30:43 +02:00
|
|
|
COMMENT= Blog management application based on Qt 4
|
|
|
|
|
2016-06-23 15:09:10 +02:00
|
|
|
LICENSE= GPLv2 # only
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2010-10-08 19:36:36 +02:00
|
|
|
|
2014-07-29 20:41:15 +02:00
|
|
|
USES= cmake tar:bzip2
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= corelib dbus gui network xml \
|
2009-01-14 10:12:33 +01:00
|
|
|
moc_build qmake_build rcc_build uic_build
|
2009-03-14 15:10:14 +01:00
|
|
|
USE_OPENSSL= yes
|
2009-01-14 10:12:33 +01:00
|
|
|
CMAKE_ARGS= -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
|
2009-07-09 11:05:24 +02:00
|
|
|
-DMANPAGE_DIRECTORY:STRING="${MANPREFIX}/man/man1" \
|
|
|
|
-DMARKDOWN_LOCATION:STRING="${LOCALBASE}/bin/markdown"
|
2007-07-16 16:30:43 +02:00
|
|
|
|
2014-02-07 13:53:12 +01:00
|
|
|
PORTDOCS= Changelog INSTALL README
|
|
|
|
PLIST_FILES= bin/qtm man/man1/qtm.1.gz share/applications/qtm.desktop \
|
|
|
|
share/pixmaps/qtm-logo1.png
|
|
|
|
|
2016-06-23 15:09:10 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-07 13:53:12 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|icons|pixmaps|' ${WRKSRC}/CMakeLists.txt
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|icons|pixmaps| ; \
|
|
|
|
/^Categories/s|;X-.*;|;| ; \
|
|
|
|
/^# /d' ${WRKSRC}/qtm-desktop.sh
|
2007-07-16 16:30:43 +02:00
|
|
|
|
2016-06-23 15:09:10 +02:00
|
|
|
post-install-DOCS-on:
|
2014-02-02 17:08:53 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-02-07 13:53:12 +01:00
|
|
|
.for i in Changelog INSTALL README
|
2016-06-23 15:09:10 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
2007-07-16 16:30:43 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|