pkgsrc/databases/zope-mysql/Makefile
tsarna 296af56a23 Update to 1.1.0. Now uses MySQLmodule rather than mySQLmodule by default
and so no longer needs patch to work with the py-mysql pkg.
1998-12-23 06:49:44 +00:00

36 lines
931 B
Makefile

# $NetBSD: Makefile,v 1.2 1998/12/23 06:49:44 tsarna Exp $
#
DISTNAME= ZMySQLDA-1.1.0-nonbin
PKGNAME= zope-mysql-1.1.0
CATEGORIES= www
MASTER_SITES= http://www.zope.org/Download/ZMySQLDA/
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.zope.org/
DEPENDS+= zope-1.9.0:../../www/zope
DEPENDS+= py-mysql-1.4:../../databases/py-mysql
WRKSRC= ${WRKDIR}/lib
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
ZOPEDIR= ${PREFIX}/zope
DAPATH= lib/python/Products/ZMySQLDA
do-configure:
(cd ${WRKDIR}/${DAPATH}; ${RM} -rf Makefile* *.pyc *.orig src Setup)
do-build:
(cd ${WRKDIR}/${DAPATH} ; \
${PREFIX}/bin/python ${PREFIX}/lib/python1.5/compileall.py . ; )
do-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
(cd ${WRKDIR}; pax -r -w lib ${ZOPEDIR})
chmod -R a+rX ${ZOPEDIR}/${DAPATH}
(cd ${PREFIX}; find zope/${DAPATH} -type f -print >>${PLIST_SRC})
${ECHO} "@dirrm zope/${DAPATH}" >> ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"