summaryrefslogtreecommitdiffstats
path: root/devel/py-tconfpy/Makefile
blob: 924a1975afc5bf8d460c3eb5b4b7a4a53fa1e88c (plain)
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
34
35
36
37
38
# Created by: tundra
# $FreeBSD$

PORTNAME=	tconfpy
PORTVERSION=	2.112
CATEGORIES=	devel python
MASTER_SITES=	http://www.tundraware.com/Software/tconfpy/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	py-${PORTNAME}-${PORTVERSION}

MAINTAINER=	tconfpy@tundraware.com
COMMENT=	A Python Configuration File Parser

USE_PYTHON=	yes
INSTALLS_EGGINFO=	yes
PYDISTUTILS_PKGNAME=	tconfpy
PYDISTUTILS_PKGVERSION=	0.0.0

MANCOMPRESSED=	yes
MAN1=		test-tc.1
MAN3=		tconfpy.3
PORTDOCS=	READ-1ST.txt WHATSNEW.txt tconfpy-license.txt tconfpy.html tconfpy.pdf tconfpy.ps tconfpy.txt test-tc.html test-tc.pdf test-tc.ps test-tc.txt

NO_STAGE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|python setup.py|${PYTHON_CMD} setup.py|' \
		${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud