diff options
author | lippe <lippe@FreeBSD.org> | 2013-03-05 02:12:32 +0800 |
---|---|---|
committer | lippe <lippe@FreeBSD.org> | 2013-03-05 02:12:32 +0800 |
commit | 5e8dd75b075c341f33ac4225a9385b652e866b6c (patch) | |
tree | a721d9c7a3d0d864b057f1c2fb96ea5c32824290 /www | |
parent | 49f24854552c0bddeae2537f2ef21a9589c887c0 (diff) | |
download | freebsd-ports-gnome-5e8dd75b075c341f33ac4225a9385b652e866b6c.tar.gz freebsd-ports-gnome-5e8dd75b075c341f33ac4225a9385b652e866b6c.tar.zst freebsd-ports-gnome-5e8dd75b075c341f33ac4225a9385b652e866b6c.zip |
- Enable python 3 support
PR: ports/175509
Submitted by: William Grzybowski <william88@gmail.com>
Approved by: William Grzybowski <william88@gmail.com> (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/py-beautifulsoup/Makefile | 17 |
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> |