summaryrefslogtreecommitdiff
path: root/www/zope-confera/Makefile
blob: 7203c3a32028dc7ce9f4aed2157484e3e5e6fc72 (plain)
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
# $NetBSD: Makefile,v 1.6 2001/02/17 17:22:49 wiz Exp $
#

DISTNAME=	Confera-1.2.0-nonbin
PKGNAME=	zope-confera-1.2.0
CATEGORIES=	www
MASTER_SITES=   http://www.zope.org/Download/Prereleases/Confera/
EXTRACT_SUFX=	.tgz

MAINTAINER=	tsarna@netbsd.org
HOMEPAGE=	http://www.zope.org/
COMMENT=	Confera: Threaded discussion groups for Zope

DEPENDS+=	zope>=2.1.4:../../www/zope

NO_BUILD=	yes

WRKSRC=		${WRKDIR}/lib

PLIST_SRC=	${WRKDIR}/.PLIST_SRC

ZOPEDIR=	${PREFIX}/lib/zope
PRODPATH=	lib/python/Products/Confera

do-install:
	${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
	(cd ${WRKDIR}; ${PAX} -r -w lib ${ZOPEDIR})
	${CHMOD} -R a+rX ${ZOPEDIR}/${PRODPATH}
	(cd ${PREFIX}; ${FIND} lib/zope/${PRODPATH} -type f -print >>${PLIST_SRC})
	${ECHO} "@dirrm lib/zope/${PRODPATH}" >> ${PLIST_SRC}

.include "../../mk/bsd.pkg.mk"