freebsd-ports/devel/py-cfgparse/Makefile
Martin Wilke 1b1b29c5e6 - Get rip python 2.3+
Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
2009-12-13 17:00:14 +00:00

33 lines
799 B
Makefile

# New ports collection makefile for: cfgparse
# Date created: March 18, 2008
# Whom: John Ferrell
#
# $FreeBSD$
#
PORTNAME= cfgparse
PORTVERSION= 1.2
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= 2.4+
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}
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>