openbsd-ports/www/zope-fscounter/Makefile
2004-08-03 12:12:40 +00:00

42 lines
1004 B
Makefile

# $OpenBSD: Makefile,v 1.4 2004/08/03 12:12:41 xsa 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 <xsa@openbsd.org>
# Zope Public License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= www/zope
WRKDIST= ${WRKDIR}/FSCounter
INSTALL_LOC= ${MODZOPE_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}/*.pyc ${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
.include <bsd.port.mk>