# ex:ts=8 # Ports collection makefile for: py-ro # Date created: Mar 22, 2002 # Whom: ijliao # # $FreeBSD$ # PORTNAME= ro PORTVERSION= 3.8.1 CATEGORIES= devel python MASTER_SITES= SF MASTER_SITE_SUBDIR= pyro PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Pyro-${PORTVERSION} MAINTAINER= perky@FreeBSD.org COMMENT= Python Remote Objects USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= Pyro DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} post-patch: ${ECHO} -e 'install-scripts=${PREFIX}/bin\n' \ '\n[install-options]\nunattended=1' >> ${WRKSRC}/setup.cfg post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}) .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif .include