Index: head/textproc/py-chardet/Makefile
===================================================================
--- head/textproc/py-chardet/Makefile	(revision 442753)
+++ head/textproc/py-chardet/Makefile	(revision 442754)
@@ -1,27 +1,27 @@
 # Created by: arved
 # $FreeBSD$
 
 PORTNAME=	chardet
 PORTVERSION=	3.0.2
 CATEGORIES=	textproc python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MASTER_SITES=	CHEESESHOP
 
 MAINTAINER=	rm@FreeBSD.org
 COMMENT=	Universal encoding detector for Python 2 and 3
 
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner
+BUILD_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
 		${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis
 
 NO_ARCH=	yes
-USES=		python
+USES?=		python
 USE_PYTHON=	autoplist concurrent distutils
 
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ptr
 
 .include <bsd.port.mk>
Index: head/textproc/py3-chardet/Makefile
===================================================================
--- head/textproc/py3-chardet/Makefile	(revision 442753)
+++ head/textproc/py3-chardet/Makefile	(revision 442754)
@@ -1,21 +1,10 @@
 # Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	chardet
-PORTVERSION=	2.3.0
-PORTREVISION=	1
-CATEGORIES=	textproc python
-MASTER_SITES=	CHEESESHOP
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+MASTERDIR=	${.CURDIR}/../py-chardet
 
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	Universal encoding detector for Python 3
+BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py3-pytest-runner
 
-LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
 USES=		python:3.3+
-USE_PYTHON=	autoplist concurrent distutils
-NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"