403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/lang/python-doc-html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/lang/python-doc-html/Makefile
PORTNAME=	python-doc-${DOCFORMAT}
DISTVERSION=	${PYTHON_DISTVERSION}
CATEGORIES=	lang python
MASTER_SITES=	PYTHON/ftp/python/doc/${DISTVERSION} \
		PYTHON/ftp/python/doc/current
DISTNAME=	python-${DISTVERSION}-docs-${DOCFORMAT}
DIST_SUBDIR=	python

MAINTAINER=	python@FreeBSD.org
COMMENT=	Documentation for the Python programming language
WWW=		https://www.python.org/doc/

PORTSCOUT=	ignore:1

USES=		python:env tar:bzip2

NO_ARCH=	yes
NO_BUILD=	yes

DOCSDIR=	${PREFIX}/share/doc/${PYTHON_VERSION}
PLIST=		${WRKDIR}/pkg-plist.${DOCFORMAT}

DOCFORMATS=	html pdf-a4 pdf-letter text
DOCFORMAT?=	html

.if empty(DOCFORMATS:M${DOCFORMAT})
IGNORE=		invalid value for DOCFORMAT: "${DOCFORMAT}", possible values are: ${DOCFORMATS:ts,:S/,/, /g}
.endif

.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "text"
WRKSRC=		${WRKDIR}/docs-pdf
.endif

.if make(all_python_versions)
_VERS!=		${MAKE} -V _PYTHON_VERSIONS:O
.endif

all_python_versions:
.for v in ${_VERS}
	@${MAKE} -C ${PORTSDIR}/lang/python${v:S/.//} -V PYTHON_DISTVERSION
.endfor

.if make(makesum)
ALL_PYTHON_VERSIONS!=	${MAKE} all_python_versions
.endif

.if make(makesum)
MASTER_SITES=
.for v in ${ALL_PYTHON_VERSIONS}
MASTER_SITES+=	PYTHON/ftp/python/doc/${v}:${v:S/./x/g}
.for f in ${DOCFORMATS}
DISTFILES+=	python-${v}-docs-${f}${EXTRACT_SUFX}:${v:S/./x/g},DEFAULT
.endfor
.endfor
MASTER_SITES+=	PYTHON/ftp/python/doc/current
.export MASTER_SITES
.endif

pre-install:
	@${FIND} ${WRKSRC} -type f | ${SED} -e 's|^${WRKSRC}|%%DOCSDIR%%|' | ${SORT} > ${PLIST}

do-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/
	cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit