1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/www/py-pysearch/Makefile
Li-Wen Hsu 2d31a742e9 - Stage
- Pet portlint

PR:		ports/188772
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
2014-04-22 07:47:28 +00:00

32 lines
769 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}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docs/ ${STAGEDIR}${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>