cea728c7b3
It could also be used outside of Silva in other projects. WWW: http://www.zope.org/Members/infrae/SilvaViews PR: ports/60741 Submitted by: Tim Middleton <x@vex.net>
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# New ports collection makefile for: XMLWidgets
|
|
# Date created: 30 Dec 2003
|
|
# Whom: Tim Middleton
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= silvaviews
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= www zope
|
|
MASTER_SITES= http://zope.org/Members/infrae/SilvaViews/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
|
|
|
|
# yes, some of us are running zope on python 2.3
|
|
#PYTHON_VERSION= python2.3
|
|
|
|
# You can change this in the environment if you like.
|
|
#SZOPEBASEDIR?= www/Zope
|
|
|
|
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} . \
|
|
| ${CPIO} ${BINOWN}:${BINGRP} \
|
|
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
|
|
|
post-install:
|
|
.if !defined(BATCH)
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|