aboutsummaryrefslogtreecommitdiff
path: root/www/zope-mysqluserfolder/Makefile
blob: dc1be8c2041b831bb54e101de3da9bdeb0fc54a9 (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: mysqlUserFolder
# Date created:		02 Aug 2004
# Whom:			Alexander Leidinger
#
# $FreeBSD$
#

PORTNAME=	mysqluserfolder
PORTVERSION=	1.0.5
CATEGORIES=	www zope
MASTER_SITES=	http://old.zope.org/Members/vladap/${ZOPEPRODUCTNAME}/release-${PORTVERSION}/
PKGNAMEPREFIX=	zope-
DISTNAME=	${ZOPEPRODUCTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Zope user folder which uses MySQL database to store user information

DEPRECATED=	Development seems stalled. Last release is from 2005
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=mysqlUserFolder

WRKSRC=		${WRKDIR}/${ZOPEPRODUCTNAME}
CPIO_FLAGS=	--quiet -pdum -R

do-build:
	-@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}

do-install:
	@ ${CHMOD} -R og+rX ${WRKSRC}/
	@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
	@ cd ${WRKSRC} && ${FIND} . \
	  | ${CPIO} ${CPIO_FLAGS} ${BINOWN}:${BINGRP} \
	  ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}

post-install:
.if !defined(BATCH)
	@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>