2013-09-21 01:36:50 +02:00
|
|
|
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
|
2007-03-03 13:38:28 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pysearch
|
2008-01-08 16:35:45 +01:00
|
|
|
PORTVERSION= 3.1
|
2007-03-03 13:38:28 +01:00
|
|
|
CATEGORIES= www python
|
2009-08-22 02:38:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/pYsearch/${PORTVERSION}
|
2007-03-03 13:38:28 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= pYsearch-${PORTVERSION}
|
|
|
|
|
2007-04-04 10:49:31 +02:00
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
2007-03-03 13:38:28 +01:00
|
|
|
COMMENT= Yahoo Search Web Services SDK for Python
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= pYsearch
|
2007-03-03 13:38:28 +01:00
|
|
|
|
2007-08-04 13:41:30 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
2007-03-03 13:38:28 +01:00
|
|
|
|
2013-09-21 01:36:50 +02:00
|
|
|
NO_STAGE= yes
|
2007-03-03 13:38:28 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
|
|
|
|
.endif
|
2007-06-22 14:26:48 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2007-03-03 13:38:28 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
|
2007-06-22 14:26:48 +02:00
|
|
|
.endif
|
2007-03-03 13:38:28 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|