freebsd-ports/devel/py-cfgparse/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

31 lines
750 B
Makefile

# Created by: John Ferrell
# $FreeBSD$
PORTNAME= cfgparse
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v01_02
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= cfgparse-v01_02
MAINTAINER= jdferrell3@yahoo.com
COMMENT= Python module for parsing configuration files
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= cfgparse
PYDISTUTILS_EGGINFO= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-v01_02-${PYTHON_VERSION:S/thon//}.egg-info
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/cfgparse/* ${DOCSDIR}
.endif
PLIST_SUB= PYTHONVER=${PYTHON_VERSION:S/python//}
.include <bsd.port.mk>