summaryrefslogtreecommitdiff
path: root/www/zope-confera/Makefile
blob: 577da2806cc244165447f09865453ba4eb007944 (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
# $NetBSD: Makefile,v 1.10 2004/01/20 12:28:00 agc 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

WRKSRC=		${WRKDIR}/lib
NO_BUILD=	yes

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} -rw 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"