summaryrefslogtreecommitdiff
path: root/devel/qt5-assistant/Makefile
blob: 219b188d65ec8c6d3da22f809a961f30bf03f900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

PORTNAME=	assistant
DISTVERSION=	${QT5_VERSION}
CATEGORIES=	devel
PKGNAMEPREFIX=	qt5-

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Qt 5 documentation browser

USES=		compiler:c++11-lang qmake qt-dist:5,tools
USE_QT=		core gui help network printsupport sql widgets \
		buildtools_build sql-sqlite3_run
QT_BINARIES=	yes

DESKTOP_ENTRIES="Qt 5 Assistant" "" \
		"${PREFIX}/share/pixmaps/assistant-qt5.png" \
		"${PREFIX}/${QT_BINDIR_REL}/assistant" \
		"Development;Qt;" true

BUILD_WRKSRC=	${WRKSRC}/src/${PORTNAME}/${PORTNAME}
INSTALL_WRKSRC=	${WRKSRC}/src/${PORTNAME}/${PORTNAME}

# Link in QtHelp port
_QT5_ADDITIONAL_LINK=	help

post-install:
	${INSTALL_DATA} ${INSTALL_WRKSRC}/images/assistant-128.png \
		${STAGEDIR}${PREFIX}/share/pixmaps/assistant-qt5.png

.include <bsd.port.mk>