1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/py-pathtools/Makefile

36 lines
756 B
Makefile

# $FreeBSD$
PORTNAME= pathtools
PORTVERSION= 0.1.2
#PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= File system general utilities for Python
LICENSE= MIT
OPTIONS_DEFINE= DOCS
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
# Python3 ready (installation tested)
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= ${PKGNAMEPREFIX}sphinx>=1.1.3:${PORTSDIR}/textproc/py-sphinx
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-build:
(cd ${WRKSRC}/docs ; ${MAKE} html)
post-install:
(cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
.include <bsd.port.mk>