aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pcbsd-utils-qt5/Makefile
blob: 9f43d67a468e24c41cd7ce2b1f42bdb9dcf6540f (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Created by: Kris Moore <kmoore@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pcbsd-utils-qt5
PORTVERSION=    1444236547
PORTREVISION=   2
CATEGORIES= sysutils

MAINTAINER= kmoore@FreeBSD.org
COMMENT=    PC-BSD Qt5 Utilities

LICENSE=    BSD3CLAUSE

BUILD_DEPENDS=  sphinx-build:${PORTSDIR}/textproc/py-sphinx \
        ${PYTHON_PKGNAMEPREFIX}sphinx-intl>=0:${PORTSDIR}/textproc/py-sphinx-intl \
        ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-httpdomain>=0:${PORTSDIR}/textproc/py-sphinxcontrib-httpdomain \
        ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>=0:${PORTSDIR}/textproc/py-sphinx_rtd_theme \
        ${PYTHON_PKGNAMEPREFIX}alabaster>=0:${PORTSDIR}/textproc/py-alabaster \
        tex-formats>=0:${PORTSDIR}/print/tex-formats \
        tex-dvipsk>=0:${PORTSDIR}/print/tex-dvipsk
RUN_DEPENDS=    pc-updatemanager:${PORTSDIR}/sysutils/pcbsd-utils \
        ${PYTHON_PKGNAMEPREFIX}dbus>=0:${PORTSDIR}/devel/py-dbus \
        cdda2wav:${PORTSDIR}/sysutils/cdrtools
LIB_DEPENDS=    libcurl.so:${PORTSDIR}/ftp/curl \
        libpoppler-qt5.so:${PORTSDIR}/graphics/poppler-qt5

CONFLICTS?= pcbsd-utils-qt4-[0-9]*

MAKE_JOBS_UNSAFE=yes
ONLY_FOR_ARCHS= amd64
USE_LDCONFIG=   yes
USE_QT5=    core gui network svg linguist \
        buildtools x11extras
USES=       desktop-file-utils python qmake shebangfix tar:xz
SHEBANG_FILES=  pc-netmanager/src/NetworkManager/resources/umts_stick \
        pc-sysmanager/scripts/fastest_cvsup

WRKSRC_SUBDIR=  src-qt5

QMAKE_ARGS= CONFIG+="configure"

USE_GITHUB= yes
GH_ACCOUNT= pcbsd
GH_PROJECT= pcbsd
GH_TAGNAME= 3c4d2b

.include <bsd.port.options.mk>

.if ${OSVERSION} < 1000000
IGNORE=     requires FreeBSD 10 or later
.endif

post-install:
    @${FIND} ${STAGEDIR}${PREFIX}/share/pcbsd/doc/html -type f | \
        ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}

.include <bsd.port.mk>