blob: 2579904c50e05f23a8cf7ad015bcd5f47169083d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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>
|