blob: 6ffe739474b45f62d526f9a4c7f37a510ae87fff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# 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
BROKEN= Incomplete pkg-plist
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2005-09-22
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>
|