blob: 8501009cc71e1ae79e6fe1e736440bc41e4d7d58 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# New ports collection makefile for: zope-zwiki
# Date created: 11 May 2001
# Whom: Johann Visagie <johann@egenetics.com>
#
# $FreeBSD$
#
PORTNAME= zwiki
PORTVERSION= 0.9.8
CATEGORIES= www zope
MASTER_SITES= http://www.zope.org/Members/simon/ZWiki/ \
http://zwiki.org/zwikidir/releases/
PKGNAMEPREFIX= zope-
DISTNAME= ZWiki-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= wjv@FreeBSD.org
COMMENT= A WikiWikiWeb product for Zope
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
USE_PYTHON= yes
DIST_SUBDIR= zope
# You can change this in the environment if you like.
SZOPEBASEDIR?= www/Zope
# Don't change these
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
ZOPEPRODUCTNAME= ZWiki
ZOPEPRODUCTDIR= lib/python/Products
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}
CPIO= cpio --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 * \! -name \*.zexp \
| ${CPIO} ${BINOWN}:${BINGRP} \
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
|