2014-03-24 17:47:07 +01:00
|
|
|
# Created by: Horia Racoviceanu <horia@racoviceanu.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cloud_sptheme
|
2016-12-23 08:55:08 +01:00
|
|
|
PORTVERSION= 1.8.0
|
2014-03-24 17:47:07 +01:00
|
|
|
CATEGORIES= textproc python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= python
|
|
|
|
|
2016-06-28 11:11:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-03-24 17:47:07 +01:00
|
|
|
COMMENT= Sphinx theme
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
2016-10-02 11:01:49 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2014-03-24 17:47:07 +01:00
|
|
|
|
2016-09-09 01:38:33 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.3:textproc/py-sphinx
|
2016-10-02 11:01:49 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.3:textproc/py-sphinx
|
2014-03-24 17:47:07 +01:00
|
|
|
|
2014-12-07 11:01:36 +01:00
|
|
|
USES= python
|
|
|
|
USE_PYTHON= distutils autoplist
|
2014-03-24 17:47:07 +01:00
|
|
|
PYDISTUTILS_BUILDARGS= build_sphinx -E
|
2016-10-02 11:01:49 +02:00
|
|
|
NO_ARCH= yes
|
2014-03-24 17:47:07 +01:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2016-10-02 11:01:49 +02:00
|
|
|
post-install-DOCS-on:
|
2014-03-24 17:47:07 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR2}
|
2016-10-02 11:01:49 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/build/sphinx && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
|
2014-03-24 17:47:07 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|