aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-yaml/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2006-05-09 23:00:24 +0800
committerijliao <ijliao@FreeBSD.org>2006-05-09 23:00:24 +0800
commit819394116c708534bf7bdac593b768e7de2c24ee (patch)
treee732c63a50dbe49c29e57fe44f30abc601965f99 /devel/py-yaml/Makefile
parent21e53703a61d237be04429631f27e0eb895b69a7 (diff)
downloadfreebsd-ports-gnome-819394116c708534bf7bdac593b768e7de2c24ee.tar.gz
freebsd-ports-gnome-819394116c708534bf7bdac593b768e7de2c24ee.tar.zst
freebsd-ports-gnome-819394116c708534bf7bdac593b768e7de2c24ee.zip
upgrade to 3.01
Diffstat (limited to 'devel/py-yaml/Makefile')
-rw-r--r--devel/py-yaml/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/devel/py-yaml/Makefile b/devel/py-yaml/Makefile
index aecf5fccfdd7..1d4082059a36 100644
--- a/devel/py-yaml/Makefile
+++ b/devel/py-yaml/Makefile
@@ -7,18 +7,22 @@
#
PORTNAME= yaml
-PORTVERSION= 0.32
+PORTVERSION= 3.01
CATEGORIES= devel python
-MASTER_SITES= http://pyyaml.org/download/pyyaml-legacy/
+MASTER_SITES= http://pyyaml.org/download/pyyaml/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= PyYaml-SHowell-${PORTVERSION}
-EXTRACT_SUFX= .tar.gz
+DISTNAME= PyYAML-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python YAML parser
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-WRKSRC= ${WRKDIR}/PyYaml
+
+post-install:
+ @${FIND} ${PYTHON_SITELIBDIR}/yaml ! -type d | \
+ ${SED} -e "s,^${PREFIX}/,," >> ${TMPPLIST}
+ @${FIND} ${PYTHON_SITELIBDIR}/yaml -type d | ${SORT} -r | \
+ ${SED} -e "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
.include <bsd.port.mk>