freebsd-ports/devel/py-cfgparse/Makefile
Cheng-Lung Sung c681de11ed cfgparse is Python module for parsing configuration files.
WWW: http://cfgparse.sourceforge.net/

PR:		ports/121855
Submitted by:	John Ferrell
2008-04-11 07:41:41 +00:00

34 lines
821 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= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cfgparse
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= cfgparse-v01_02
MAINTAINER= jdferrell3@yahoo.com
COMMENT= Python module for parsing configuration files
USE_PYTHON= 2.3+
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>