openbsd-ports/www/zope-logger/Makefile
naddy 852732e830 Import Zope Logger 1.0.3.
Submitted by Xavier Santolaria <xavier@santolaria.net>.

The Logger Product adds the <dtml-log> tag, so that DTML code may 
send messages directly to Zope's logging subsystem. 
One use of this tag is to help debug complex DTML and ZSQL methods.
2003-05-29 23:25:11 +00:00

42 lines
879 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2003/05/29 23:25:11 naddy Exp $
COMMENT= "logging product for Zope"
VERSION= 1.0.3
PKGNAME= logger-${VERSION}
DISTNAME= Logger-${VERSION:S/./-/g}
CATEGORIES= www
HOMEPAGE= http://www.zope.org/Members/Zen/Logger/
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
MAINTAINER= Xavier Santolaria <xavier@santolaria.net>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= :zope->=2.1:www/zope
NO_BUILD= Yes
NO_REGRESS= Yes
WRKSRC= ${WRKDIR}/Logger
ZOPEHOME= ${PREFIX}/lib/zope
PRODUCTSDIR= ${ZOPEHOME}/lib/python/Products
LOGGERITEMS= Logger.py README.txt __init__.py
do-install:
${INSTALL_DATA_DIR} ${PRODUCTSDIR}/Logger
for p in ${LOGGERITEMS}; do \
cp ${WRKSRC}/$$p ${PRODUCTSDIR}/Logger; \
done
chown -R ${LIBOWN}:${LIBGRP} ${PRODUCTSDIR}
.include <bsd.port.mk>