freebsd-ports/www/py-pysearch/Makefile
Gabor Kovesdan 42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00

35 lines
778 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= SOURCEFORGE
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} ${DOCSDIR}
${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>