2010-08-30 18:24:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/08/30 22:24:15 jasper Exp $
|
2007-06-24 17:56:36 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= config file reader and writer
|
2007-06-24 17:56:36 -04:00
|
|
|
|
2008-07-09 13:42:23 -04:00
|
|
|
MODPY_EGG_VERSION= 4.5.3
|
2008-04-15 05:33:15 -04:00
|
|
|
DISTNAME= configobj-${MODPY_EGG_VERSION}
|
2010-08-30 18:24:14 -04:00
|
|
|
PKGNAME= py-${DISTNAME}
|
|
|
|
REVISION = 1
|
2007-06-24 17:56:36 -04:00
|
|
|
|
2007-12-10 16:07:51 -05:00
|
|
|
CATEGORIES= devel
|
2007-06-24 17:56:36 -04:00
|
|
|
|
|
|
|
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>
|