2007-03-03 13:38:28 +01:00
|
|
|
# New ports collection makefile for: py-pysearch
|
|
|
|
# Date created: Mar. 01, 2007
|
|
|
|
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pysearch
|
|
|
|
PORTVERSION= 3.0
|
|
|
|
CATEGORIES= www python
|
2007-06-22 14:26:48 +02:00
|
|
|
MASTER_SITES= SOURCEFORGE
|
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
|
|
|
|
|
|
|
|
DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
|
|
|
|
|
|
|
|
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>
|