openbsd-ports/devel/py-configobj/Makefile
martynas f7213838a1 import py-configobj-4.4.0
ConfigObj is a simple but powerful config file reader and writer:
an ini file round tripper. Its main feature is that it is very easy
to use, with a straightforward programmer's interface and a simple
syntax for config files.

ok simon@
2007-06-24 21:56:36 +00:00

35 lines
870 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/06/24 21:56:36 martynas Exp $
COMMENT= "config file reader and writer"
DISTNAME= configobj-4.4.0
PKGNAME= py-${DISTNAME}
CATEGORIES= devel lang/python
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>