aboutsummaryrefslogtreecommitdiffstats
path: root/www/zope-silvaviews/Makefile
blob: b3c298ea6c9079606b7defaf4487150cdfaa537f (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
# New ports collection makefile for: XMLWidgets
# Date created:     30 Dec 2003
# Whom:         Tim Middleton
#
# $FreeBSD$
#

PORTNAME=   silvaviews
PORTVERSION=    0.10
CATEGORIES= www zope
MASTER_SITES=   http://www.infrae.com/download/SilvaViews/${PORTVERSION}/
PKGNAMEPREFIX=  zope-
DISTNAME=   SilvaViews-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= x@Vex.Net
COMMENT=    A component used by Silva to attach views to objects

USE_PYTHON= yes
USE_ZOPE=   yes
DIST_SUBDIR=    zope

ZOPEPRODUCTNAME=SilvaViews

WRKSRC=     ${WRKDIR}/${ZOPEPRODUCTNAME}

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

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

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

.include <bsd.port.mk>