aboutsummaryrefslogtreecommitdiffstats
path: root/misc/py-qt5-doc/Makefile
blob: cc7870423fd5c37f164434042f9fa667c40b4dda (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
# $FreeBSD$

PORTNAME=   doc
PORTVERSION=    ${PYQT5_VERSION}
CATEGORIES= misc devel python
MASTER_SITES=   ${MASTER_SITES_PYQT5}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}qt5-
DISTNAME=   ${PYQT_DISTNAME}

MAINTAINER= kde@FreeBSD.org
COMMENT=    Python bindings for the Qt5 toolkit, documentation

DISTINFO_FILE=  ${PYQT_DISTINFO_FILE}
NO_BUILD=   yes

PORTSCOUT=  limit:^${PYQT5_VERSION}

USES=       python pyqt:5
USE_PYQT=   #
USE_PYTHON= flavors

DOCSDIR=    ${PREFIX}/share/doc/py-qt5

do-install:
    cd ${WRKSRC} &&\
        ${MKDIR} ${STAGEDIR}${DOCSDIR} &&\
        ${INSTALL_DATA} NEWS LICENSE README\
            ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>