openbsd-ports/www/zope-fortune/Makefile
naddy 66353942fb Introduce zope module and make zope-* ports use it.
From: Xavier Santolaria <xavier@santolaria.net>
2003-07-17 15:11:38 +00:00

35 lines
853 B
Makefile

# $OpenBSD: Makefile,v 1.2 2003/07/17 15:11:38 naddy Exp $
COMMENT= "insert randomly-selected fortunes in your documents"
VERSION= 0.5.2
DISTNAME= Fortune-${VERSION}
PKGNAME= zope-fortune-${VERSION}
CATEGORIES= www
HOMEPAGE= http://www.zope.org/Members/lalo/Fortune/
MASTER_SITES= ${HOMEPAGE}
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
MODULES= zope
WRKDIST= ${WRKDIR}/lib/python/Products/Fortune
FORTUNEITEMS= FortuneTag fortunesetup __init__
do-install:
${INSTALL_DATA_DIR} ${MODZOPE_PRODUCTSDIR}/Fortune
.for f in ${FORTUNEITEMS}
${INSTALL_DATA} ${WRKDIST}/$f.{py,pyc} ${MODZOPE_PRODUCTSDIR}/Fortune
.endfor
${INSTALL_DATA} ${WRKDIST}/README.txt ${MODZOPE_PRODUCTSDIR}/Fortune
.include <bsd.port.mk>