freebsd-ports/devel/py-configobj/Makefile
Nicola Vitale 0711f5197a - Update to 4.5.3
- Remove PORTDOCS=*
- Use ${COPYTREE_SHARE} to install docs
- Use ${PKGNAMEPREFIX} instead of py- inside DOCSDIR
2008-07-25 14:07:29 +00:00

33 lines
751 B
Makefile

# New ports collection makefile for: py-configobj
# Date created: 2006-10-20
# Whom: Choe, Cheng-Dae
#
# $FreeBSD$
#
PORTNAME= configobj
PORTVERSION= 4.5.3
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Simple but powerful config file reader and writer
USE_ZIP= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
# www/py-turbogears requires (and installs) a Python egg for ConfigObj
CONFLICTS= py*-TurboGears-[0-9]*
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR} && \
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.mk>