mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
69dd27cc3c
Approved by: clsung (mentor)
36 lines
794 B
Makefile
36 lines
794 B
Makefile
# 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
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= pysearch
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pYsearch-${PORTVERSION}
|
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
|
COMMENT= Yahoo Search Web Services SDK for Python
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
|
|
.endif
|
|
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
|
|
.endif
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|