# ex:ts=8 # Ports collection makefile for: py-ro # Date created: Mar 22, 2002 # Whom: ijliao # # $FreeBSD$ # PORTNAME= ro PORTVERSION= 2.7 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pyro PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Pyro-${PORTVERSION} MAINTAINER= perky@fallin.lv USE_PYTHON= yes USE_PYDISTUTILS= yes DOCSDIR= ${PREFIX}/share/doc/py-ro EXAMPLESDIR= ${PREFIX}/share/examples/py-ro post-patch: ${PERL} -pi -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/setup.cfg .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${DOCSDIR} ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR} @${MKDIR} ${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} .endif .include