Changeset View
Changeset View
Standalone View
Standalone View
misc/py-qt4-doc/Makefile
# Created by: Danny Pansters <danny@ricin.com> | # Created by: Danny Pansters <danny@ricin.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= doc | PORTNAME= doc | ||||
PORTVERSION= ${PYQT4_VERSION} | PORTVERSION= ${PYQT4_VERSION} | ||||
PORTREVISION= 1 | |||||
PORTEPOCH= 1 | PORTEPOCH= 1 | ||||
CATEGORIES= misc devel python | CATEGORIES= misc devel python | ||||
MASTER_SITES= ${MASTER_SITES_PYQT4} | MASTER_SITES= ${MASTER_SITES_PYQT4} | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4- | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4- | ||||
DISTNAME= ${PYQT4_DISTNAME} | DISTNAME= ${PYQT4_DISTNAME} | ||||
MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
COMMENT= Python bindings for the Qt4 toolkit, documentation | COMMENT= Python bindings for the Qt4 toolkit, documentation | ||||
DISTINFO_FILE= ${PYQT4_DISTINFO_FILE} | DISTINFO_FILE= ${PYQT4_DISTINFO_FILE} | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
USES= python pyqt:4 | USES= python pyqt:4 | ||||
USE_PYQT= # | USE_PYTHON= concurrent py3kplist | ||||
DOCSDIR= ${PREFIX}/share/doc/py-qt4 | # DOCSDIR gets overritten by concurrent, but UNIQUE_SUFFIX does not take... | ||||
# so do it manually. | |||||
PYQT_DOCSDIR= ${PREFIX}/${DOCDIR_REL} | |||||
PLIST_SUB+= PYQT_DOCSDIR="${PYQT_DOCSDIR}" | |||||
do-install: | do-install: | ||||
cd ${WRKSRC} &&\ | cd ${WRKSRC} &&\ | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR} &&\ | ${MKDIR} ${STAGEDIR}${PYQT_DOCSDIR} &&\ | ||||
${INSTALL_DATA} LICENSE \ | ${INSTALL_DATA} LICENSE \ | ||||
NEWS \ | NEWS \ | ||||
README \ | README \ | ||||
THANKS\ | THANKS\ | ||||
${STAGEDIR}${DOCSDIR} | ${STAGEDIR}${PYQT_DOCSDIR} | ||||
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR} | cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${PYQT_DOCSDIR} | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |