aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-genshi/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-08 23:38:18 +0800
committermiwi <miwi@FreeBSD.org>2014-02-08 23:38:18 +0800
commit53fd72d3fda5ef88b98dac8b8f21d12d0c551db1 (patch)
tree3538b1ae436e7eb9b27d38122ad723bb7ff6ef62 /textproc/py-genshi/Makefile
parentc1c9a0a6206ef95d93f203710ae60282798fc452 (diff)
downloadfreebsd-ports-gnome-53fd72d3fda5ef88b98dac8b8f21d12d0c551db1.tar.gz
freebsd-ports-gnome-53fd72d3fda5ef88b98dac8b8f21d12d0c551db1.tar.zst
freebsd-ports-gnome-53fd72d3fda5ef88b98dac8b8f21d12d0c551db1.zip
- Stage support
- Convert to PYDISTUTILS_AUTOPLIST - Bump PORTREVISION
Diffstat (limited to 'textproc/py-genshi/Makefile')
-rw-r--r--textproc/py-genshi/Makefile22
1 files changed, 3 insertions, 19 deletions
diff --git a/textproc/py-genshi/Makefile b/textproc/py-genshi/Makefile
index bef5b94bd90a..1a9ea7d3e938 100644
--- a/textproc/py-genshi/Makefile
+++ b/textproc/py-genshi/Makefile
@@ -3,7 +3,7 @@
PORTNAME= Genshi
PORTVERSION= 0.7
-PORTREVISION= 0
+PORTREVISION= 1
#PORTEPOCH= 0
CATEGORIES= textproc www python
MASTER_SITES= http://ftp.edgewall.com/pub/${PORTNAME:L}/
@@ -18,30 +18,14 @@ 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}
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
-NO_STAGE= yes
.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>