Changeset View
Changeset View
Standalone View
Standalone View
www/py-urlgrabber/Makefile
Show All 17 Lines | |||||
RUN_DEPENDS= ${PKGNAMEPREFIX}curl>=7.19.0_1:${PORTSDIR}/ftp/py-curl | RUN_DEPENDS= ${PKGNAMEPREFIX}curl>=7.19.0_1:${PORTSDIR}/ftp/py-curl | ||||
USES= python | USES= python | ||||
USE_PYTHON= distutils | USE_PYTHON= distutils | ||||
REINPLACE_ARGS= -i.bak -e 's,%%DOCSDIR%%,${DOCSDIR},' | REINPLACE_ARGS= -i.bak -e 's,%%DOCSDIR%%,${DOCSDIR},' | ||||
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} | DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} | ||||
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options | |||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCS} | ||||
MAKE_ENV= INSTALL_DOCS=yes | MAKE_ENV= INSTALL_DOCS=yes | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} ${WRKSRC}/${PYSETUP} | ${REINPLACE_CMD} ${WRKSRC}/${PYSETUP} | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |