1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/zope-zmysqlda/Makefile
Pav Lucistnik 6991c7b6d8 - Unbreak; add NO_PACKAGE. The port is fine, but the package can't be created
because of conflict in python versions between zope and world

PR:		ports/85182
Submitted by:	Filippo Natali <filippo.natali@gmail.com> (maintainer)
2005-09-10 22:32:49 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: zope-zmysqlda
# Date created: 15 August 2001
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= zmysqlda
PORTVERSION= 2.0.8
PORTREVISION= 1
CATEGORIES= www databases zope
MASTER_SITES= http://www.zope.org/Members/adustman/Products/ZMySQLDA/${PORTVERSION}/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mysql-python
PKGNAMEPREFIX= zope-
DISTNAME= ${ZOPEPRODUCTNAME}-${PORTVERSION}
MAINTAINER= filippo.natali@gmail.com
COMMENT= MySQL Database Adapter for the Zope web application framework
RUN_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb
NO_PACKAGE= Double python dependency
USE_PYTHON= yes
USE_ZOPE= yes
DIST_SUBDIR= zope
ZOPEPRODUCTNAME= ZMySQLDA
WRKSRC= ${WRKDIR}/lib/python/Products/${ZOPEPRODUCTNAME}
CPIO_OPTIONS= --quiet -pdum -R
do-build:
@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
@ cd ${WRKSRC} && ${FIND} * | ${CPIO} ${CPIO_OPTIONS} ${BINOWN}:${BINGRP} \
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>