mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
42320668d8
(the last version (0.6c9) of devel/py-setuptools now adds native_libs.txt to *.EGG-INFO) - Bump PORTREVISION Pointed out by: QAT
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# New ports collection makefile for: py-genshi
|
|
# Date created: 2007-01-23
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Genshi
|
|
PORTVERSION= 0.5.1
|
|
PORTREVISION= 2
|
|
#PORTEPOCH= 0
|
|
CATEGORIES= textproc www python
|
|
MASTER_SITES= http://ftp.edgewall.com/pub/${PORTNAME:L}/ \
|
|
http://nivi.interfree.it/distfiles/${PORTNAME:L}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Python toolkit for stream-based generation of output for the web
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
PYDISTUTILS_INSTALLARGS= -Z -O 1 -N -S ${PYTHONPREFIX_SITELIBDIR}/site-packages -d ${PYTHONPREFIX_SITELIBDIR} ${WRKSRC}/dist/${PYEASYINSTALL_EGG}
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR}
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|