View | Details | Raw Unified | Return to bug 121796
Collapse All | Expand All

(-)deskutils/qtm/Makefile (-16 / +20 lines)
Lines 6-41 Link Here
6
#
6
#
7
7
8
PORTNAME=	qtm
8
PORTNAME=	qtm
9
PORTVERSION=	0.5.5
9
PORTVERSION=	0.5.8.2
10
CATEGORIES=	deskutils
10
CATEGORIES=	deskutils
11
MASTER_SITES=	SF
11
MASTER_SITES=	SF/catkin
12
MASTER_SITE_SUBDIR=catkin
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Blog management application based on Qt 4
14
COMMENT=	Blog management application based on Qt 4
16
15
17
USE_QT_VER=	4
16
BUILD_DEPENDS=	cmake:${PORTSDIR}/devel/cmake
18
QT_COMPONENTS=	gui network corelib xml qmake_build uic_build moc_build
19
PLIST_FILES=	bin/QTM
20
17
21
PORTDOCS=	COPYING Changelog INSTALL README
18
USE_QT_VER=	4
19
QT_COMPONENTS=	corelib gui network xml moc_build qmake4_build uic_build
22
20
23
DESKTOP_ENTRIES=	"QTM" \
21
MAN=		qtm.1
24
			"Weblog management application" \
22
PORTDOCS=	Changelog INSTALL README
25
			"" \
23
PLIST_FILES=	bin/qtm \
26
			"QTM" \
24
		share/applications/qtm.desktop \
27
			"Application;Network;" \
25
		share/icons/qtm-logo1.png
28
			"false"
29
26
30
pre-build:
27
pre-build:
31
	@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -unix QTM.pro
28
	@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} cmake . \
29
		-DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
30
		-DCMAKE_C_FLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
31
		-DCMAKE_CXX_FLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
32
		-DCMAKE_C_LINK_FLAGS="${PTHREAD_LIBS}" \
33
		-DCMAKE_CXX_LINK_FLAGS="${PTHREAD_LIBS}" \
34
		-DMANPAGE_DIRECTORY="${MANPREFIX}/man/man1"
32
35
33
post-install:
36
post-install:
34
	@${INSTALL_PROGRAM} ${WRKSRC}/QTM ${PREFIX}/bin
37
	@${ECHO_CMD} "@unexec rmdir %D/share/applications 2>/dev/null || true" \
38
		>> ${TMPPLIST}
35
.if !defined(NOPORTDOCS)
39
.if !defined(NOPORTDOCS)
36
	@${MKDIR} ${DOCSDIR}
40
	@${MKDIR} ${DOCSDIR}
37
.for doc in ${PORTDOCS}
41
.for doc in ${PORTDOCS}
38
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
42
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
39
.endfor
43
.endfor
40
.endif
44
.endif
41
45
(-)deskutils/qtm/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (qtm-0.5.5.tar.gz) = 2d5f433b5cfcb080dc026849b3085ab6
1
MD5 (qtm-0.5.8.2.tar.gz) = 1fd4ab24b1b18202326bae47132c45bd
2
SHA256 (qtm-0.5.5.tar.gz) = 3dd55ea938c116e8e8d9a40a27e93e9af6742cdebc28d47f16f81159b5dce7ee
2
SHA256 (qtm-0.5.8.2.tar.gz) = 7de2b4ef9643082a9b104ef4298ba440dba66b958b37d684a9356e406ad049b4
3
SIZE (qtm-0.5.5.tar.gz) = 124404
3
SIZE (qtm-0.5.8.2.tar.gz) = 138081

Return to bug 121796