aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/qtm
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-21 19:44:22 +0800
committermiwi <miwi@FreeBSD.org>2008-03-21 19:44:22 +0800
commit9a1803d673d431703d6f4e5c304884285b8450de (patch)
tree6d4c42e49566a21ff7b5fcd96b810bee040fc6f6 /deskutils/qtm
parent332f6ff88f1cec86665f12bfcebc26a36cc134e3 (diff)
downloadfreebsd-ports-gnome-9a1803d673d431703d6f4e5c304884285b8450de.tar.gz
freebsd-ports-gnome-9a1803d673d431703d6f4e5c304884285b8450de.tar.zst
freebsd-ports-gnome-9a1803d673d431703d6f4e5c304884285b8450de.zip
- Update to 0.5.8.2
PR: 121796 Submitted by: Ports Fury
Diffstat (limited to 'deskutils/qtm')
-rw-r--r--deskutils/qtm/Makefile31
-rw-r--r--deskutils/qtm/distinfo6
-rw-r--r--deskutils/qtm/pkg-plist5
3 files changed, 23 insertions, 19 deletions
diff --git a/deskutils/qtm/Makefile b/deskutils/qtm/Makefile
index 76d601a86b04..f0d92f7ad7dc 100644
--- a/deskutils/qtm/Makefile
+++ b/deskutils/qtm/Makefile
@@ -6,36 +6,35 @@
#
PORTNAME= qtm
-PORTVERSION= 0.5.5
+PORTVERSION= 0.5.8.2
CATEGORIES= deskutils
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=catkin
+MASTER_SITES= SF/catkin
MAINTAINER= ports@FreeBSD.org
COMMENT= Blog management application based on Qt 4
-USE_QT_VER= 4
-QT_COMPONENTS= gui network corelib xml qmake_build uic_build moc_build
-PLIST_FILES= bin/QTM
+BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
-PORTDOCS= COPYING Changelog INSTALL README
+USE_QT_VER= 4
+QT_COMPONENTS= corelib gui rcc network xml moc_build qmake_build uic_build
-DESKTOP_ENTRIES= "QTM" \
- "Weblog management application" \
- "" \
- "QTM" \
- "Application;Network;" \
- "false"
+MAN1= qtm.1
+PORTDOCS= Changelog INSTALL README
pre-build:
- @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -unix QTM.pro
+ @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} cmake . \
+ -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
+ -DCMAKE_C_FLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
+ -DCMAKE_C_LINK_FLAGS="${PTHREAD_LIBS}" \
+ -DCMAKE_CXX_LINK_FLAGS="${PTHREAD_LIBS}" \
+ -DMANPAGE_DIRECTORY="${MANPREFIX}/man/man1"
post-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/QTM ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
diff --git a/deskutils/qtm/distinfo b/deskutils/qtm/distinfo
index e4a6eafbd8b8..6a8841fd58c2 100644
--- a/deskutils/qtm/distinfo
+++ b/deskutils/qtm/distinfo
@@ -1,3 +1,3 @@
-MD5 (qtm-0.5.5.tar.gz) = 2d5f433b5cfcb080dc026849b3085ab6
-SHA256 (qtm-0.5.5.tar.gz) = 3dd55ea938c116e8e8d9a40a27e93e9af6742cdebc28d47f16f81159b5dce7ee
-SIZE (qtm-0.5.5.tar.gz) = 124404
+MD5 (qtm-0.5.8.2.tar.gz) = 1fd4ab24b1b18202326bae47132c45bd
+SHA256 (qtm-0.5.8.2.tar.gz) = 7de2b4ef9643082a9b104ef4298ba440dba66b958b37d684a9356e406ad049b4
+SIZE (qtm-0.5.8.2.tar.gz) = 138081
diff --git a/deskutils/qtm/pkg-plist b/deskutils/qtm/pkg-plist
new file mode 100644
index 000000000000..dbaf1455f1b1
--- /dev/null
+++ b/deskutils/qtm/pkg-plist
@@ -0,0 +1,5 @@
+bin/qtm
+share/applications/qtm.desktop
+share/icons/qtm-logo1.png
+@dirrmtry share/icons
+@dirrmtry share/applications