freebsd-ports/www/zope-zmysqlda/Makefile
Ruslan Makhmatkhanov 48b67d2b7e Log:
- Deprecate second part of obsoleted zope-related ports. For all
  maintained ports approval was received from corresponding maintainers.

Bellow are links for more info.

Deprecation reasons:
http://people.freebsd.org/~rm/zope-ports-for-deprecation.html

Maintainers approval thread:
http://lists.freebsd.org/pipermail/freebsd-python/2011-December/003798.html

Approved by:   miwi (mentor)
Feature safe:  yes
2011-12-06 12:28:29 +00:00

48 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}/ \
SF/mysql-python/${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= zope-
DISTNAME= ${ZOPEPRODUCTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= MySQL Database Adapter for the Zope web application framework
DEPRECATED= Doesn't work with modern Zope versions
EXPIRATION_DATE= 2012-01-06
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${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>