2007-09-15 16:38:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2007/09/15 20:38:27 merdely Exp $
|
2003-06-17 21:31:30 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= web page hit counter for Zope
|
2003-06-17 21:31:30 -04:00
|
|
|
|
|
|
|
VERSION= 1.2
|
|
|
|
DISTNAME= FSCounter.${VERSION}
|
|
|
|
PKGNAME= zope-fscounter-${VERSION}
|
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.zope.org/Members/andym/FSCounter/
|
2006-02-08 03:34:40 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}${VERSION}/
|
2003-06-17 21:31:30 -04:00
|
|
|
EXTRACT_SUFX= .tar
|
|
|
|
|
|
|
|
# Zope Public License
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-08-03 08:12:40 -04:00
|
|
|
MODULES= www/zope
|
2003-06-17 21:31:30 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/FSCounter
|
|
|
|
|
2003-07-17 11:11:38 -04:00
|
|
|
INSTALL_LOC= ${MODZOPE_PRODUCTSDIR}/FSCounter
|
2003-06-17 21:31:30 -04:00
|
|
|
P_SUBDIRS= www
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${INSTALL_LOC}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/*.dtml ${INSTALL_LOC}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/*.py ${INSTALL_LOC}
|
2003-07-17 11:11:38 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/*.pyc ${INSTALL_LOC}
|
2003-06-17 21:31:30 -04:00
|
|
|
${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
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|