openbsd-ports/devel/py-configobj/Makefile

37 lines
904 B
Makefile
Raw Normal View History

2011-09-16 05:24:48 -04:00
# $OpenBSD: Makefile,v 1.10 2011/09/16 09:24:55 espie Exp $
COMMENT= config file reader and writer
MODPY_EGG_VERSION= 4.5.3
DISTNAME= configobj-${MODPY_EGG_VERSION}
2010-08-30 18:24:14 -04:00
PKGNAME= py-${DISTNAME}
2011-09-16 05:24:48 -04:00
REVISION = 3
CATEGORIES= devel
HOMEPAGE= http://www.voidspace.org.uk/python/configobj.html
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=configobj/}
EXTRACT_SUFX= .zip
MODULES= lang/python
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-configobj
cd ${WRKSRC}/docs && \
find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-configobj/{} \; && \
find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/py-configobj/{} \;
do-regress:
cd ${WRKSRC} && ${MODPY_BIN} configobj_test.py -v
.include <bsd.port.mk>