mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
bbc8c4d740
Approved by: portmgr (not really, but touches unstaged ports)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qtm
|
|
PORTVERSION= 1.3.17
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= SF/catkin/${PORTNAME}-${PORTVERSION:R}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Blog management application based on Qt 4
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= cmake tar:bzip2
|
|
USE_QT4= corelib dbus gui network xml \
|
|
moc_build qmake_build rcc_build uic_build
|
|
USE_OPENSSL= yes
|
|
CMAKE_ARGS= -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
|
|
-DMANPAGE_DIRECTORY:STRING="${MANPREFIX}/man/man1" \
|
|
-DMARKDOWN_LOCATION:STRING="${LOCALBASE}/bin/markdown"
|
|
|
|
PORTDOCS= Changelog INSTALL README
|
|
PLIST_FILES= bin/qtm man/man1/qtm.1.gz share/applications/qtm.desktop \
|
|
share/pixmaps/qtm-logo1.png
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in Changelog INSTALL README
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|