1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/www/py-pysearch/Makefile
2014-07-04 23:11:33 +00:00

30 lines
732 B
Makefile

# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
# $FreeBSD$
PORTNAME= pysearch
PORTVERSION= 3.1
CATEGORIES= www python
MASTER_SITES= SF/${PORTNAME}/pYsearch/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pYsearch-${PORTVERSION}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Yahoo Search Web Services SDK for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pYsearch
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docs/ ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>