Import FSCounter 1.2 for Zope.

Submitted by Xavier Santolaria <xavier@santolaria.net>.

FSCounter is a simple web page hit counter for Zope. 
Include the counter in your pages using <dtml-var counterid>.
This commit is contained in:
naddy 2003-06-18 01:31:30 +00:00
parent ab19abe385
commit d82c0c3bcd
5 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,47 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/06/18 01:31:30 naddy Exp $
COMMENT= "web page hit counter for Zope"
VERSION= 1.2
DISTNAME= FSCounter.${VERSION}
PKGNAME= zope-fscounter-${VERSION}
CATEGORIES= www
HOMEPAGE= http://www.zope.org/Members/andym/FSCounter/
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar
MAINTAINER= Xavier Santolaria <xavier@santolaria.net>
# Zope Public License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::www/zope
NO_BUILD= Yes
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/FSCounter
ZOPEHOME= ${PREFIX}/lib/zope
PRODUCTSDIR= ${ZOPEHOME}/lib/python/Products
INSTALL_LOC= ${PRODUCTSDIR}/FSCounter
P_SUBDIRS= www
do-install:
${INSTALL_DATA_DIR} ${INSTALL_LOC}
${INSTALL_DATA} ${WRKDIST}/*.dtml ${INSTALL_LOC}
${INSTALL_DATA} ${WRKDIST}/*.py ${INSTALL_LOC}
${INSTALL_DATA} ${WRKDIST}/*.txt ${INSTALL_LOC}
.for i in ${P_SUBDIRS}
${INSTALL_DATA_DIR} ${INSTALL_LOC}/$i
${INSTALL_DATA} `find ${WRKDIST}/$i -maxdepth 1 -type f` \
${INSTALL_LOC}/$i
.endfor
chown -R ${LIBOWN}:${LIBGRP} ${PRODUCTSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (FSCounter.1.2.tar) = a043ecc8164d25c13d56c1fff5e515c1
RMD160 (FSCounter.1.2.tar) = 5318c5528378cf407d09c9765d1d11e56bc25e7d
SHA1 (FSCounter.1.2.tar) = c72dc2e3fc248b2bc95153c11502889dfe8d132b

View File

@ -0,0 +1,4 @@
FSCounter is a simple web page hit counter for Zope.
Include the counter in your pages using <dtml-var counterid>.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,5 @@
+---------------
| If you already have Zope running on your machine,
| you should restart it, this can be done from the
| Zope Control Panel in the Zope management interface.
+---------------

View File

@ -0,0 +1,22 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/06/18 01:31:30 naddy Exp $
lib/zope/lib/python/Products/FSCounter/FSCounter.py
lib/zope/lib/python/Products/FSCounter/FSCounterAdd.dtml
lib/zope/lib/python/Products/FSCounter/FSCounterEdit.dtml
lib/zope/lib/python/Products/FSCounter/FSCounterHelp.dtml
lib/zope/lib/python/Products/FSCounter/__init__.py
lib/zope/lib/python/Products/FSCounter/changes.txt
lib/zope/lib/python/Products/FSCounter/refresh.txt
lib/zope/lib/python/Products/FSCounter/version.txt
lib/zope/lib/python/Products/FSCounter/www/0.gif
lib/zope/lib/python/Products/FSCounter/www/1.gif
lib/zope/lib/python/Products/FSCounter/www/2.gif
lib/zope/lib/python/Products/FSCounter/www/3.gif
lib/zope/lib/python/Products/FSCounter/www/4.gif
lib/zope/lib/python/Products/FSCounter/www/5.gif
lib/zope/lib/python/Products/FSCounter/www/6.gif
lib/zope/lib/python/Products/FSCounter/www/7.gif
lib/zope/lib/python/Products/FSCounter/www/8.gif
lib/zope/lib/python/Products/FSCounter/www/9.gif
lib/zope/lib/python/Products/FSCounter/www/num.gif
@dirrm lib/zope/lib/python/Products/FSCounter/www
@dirrm lib/zope/lib/python/Products/FSCounter