aboutsummaryrefslogtreecommitdiffstats
path: root/www/plone/Makefile
blob: d940c1d4e65cf40ea5bb9a1abdb364bd4e8986c2 (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
# New ports collection makefile for: plone
# Date created:     09 Jan 2003
# Whom:         nbm
#
# $FreeBSD$
#

PORTNAME=   plone
PORTVERSION=    1.0.r1
CATEGORIES= www zope
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= plone
DISTNAME=   CMFPlone1.0RC1
DIST_SUBDIR=    zope

MAINTAINER= ports@freebsd.org

RUN_DEPENDS=    ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope \
        ${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf

WRKSRC=     ${WRKDIR}/CMFPlone-1.0RC1
NO_BUILD=   yes
MODULES=    CMFPlone DCWorkflow Formulator i18n

# You can change this in the environment if you like.
SZOPEBASEDIR?=          www/Zope

# Don't change these
ZOPEBASEDIR=            ${PREFIX}/${SZOPEBASEDIR}
ZOPEPRODUCTNAME=
ZOPEPRODUCTDIR=         lib/python/Products

PLIST_SUB=      ZOPEBASEDIR=${SZOPEBASEDIR}

do-install:
    @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
    @(cd ${WRKSRC} && ${CP} -R ${MODULES} \
        ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR})

.include <bsd.port.mk>