aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/py-beautifulsoup/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/www/py-beautifulsoup/Makefile b/www/py-beautifulsoup/Makefile
index ea6d9d32363e..1474401c4f9f 100644
--- a/www/py-beautifulsoup/Makefile
+++ b/www/py-beautifulsoup/Makefile
@@ -1,12 +1,9 @@
-# New ports collection makefile for: beautifulsoup
-# Date created: 25 July 2012
-# Whom: Mike Meyer
-#
+# Created by: Mike Meyer
# $FreeBSD$
-#
PORTNAME= beautifulsoup
PORTVERSION= 4.1.3
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://www.crummy.com/software/BeautifulSoup/bs4/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,8 +12,14 @@ DISTNAME= beautifulsoup4-${PORTVERSION}
MAINTAINER= william88@gmail.com
COMMENT= HTML/XML Parser for Python
-USE_PYTHON= 2.7
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= beautifulsoup4
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 320
+.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
+.endif
+
+.include <bsd.port.post.mk>