mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
d38da15d45
PR: 128996 Submitted by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
42 lines
904 B
Makefile
42 lines
904 B
Makefile
# 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 <bsd.port.mk>
|