2007-12-10 16:07:51 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2007/12/10 21:07:51 martynas 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
|
|
|
|
|
|
|
DISTNAME= configobj-4.4.0
|
2007-10-08 04:22:38 -04:00
|
|
|
PKGNAME= py-${DISTNAME}p0
|
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>
|