freebsd-ports/textproc/py-genshi/Makefile
Nicola Vitale 34074ecb78 - Update to 0.7 [1]
- Trim Makefile header  [1]
- Fix MASTER_SITES entries
- Add license (BSD)
- Add option BABEL (default off)
- Convert to the new options framework  [1]
- Fix WWW field in pkg-descr

Build log:	http://goo.gl/DCc7n
Release notes:	http://goo.gl/SPXrx

PR:	ports/178991  [1]
Submitted by:	olivierd
2013-05-31 12:36:02 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= Genshi
PORTVERSION= 0.7
PORTREVISION= 0
#PORTEPOCH= 0
CATEGORIES= textproc www python
MASTER_SITES= http://ftp.edgewall.com/pub/${PORTNAME:L}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python toolkit for stream-based generation of output for the web
LICENSE= BSD
OPTIONS_DEFINE= BABEL
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
BABEL_DESC= I18n support through the Babel plugin
PYEASYINSTALL_ARCHDEP= yes
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBABEL}
RUN_DEPENDS+= ${PKGNAMEPREFIX}Babel>=0.9.6:${PORTSDIR}/devel/py-babel
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>