7b87d693e6
This is a repackaging of the CMF's FileSystem Directory Views such that it is independent of the CMF. The major use of this is to develop view code on the file system such that it can be edited with normal development utilties and checked into a source control management system. WWW: http://www.zope.org/Members/k_vertigo/Products/FileSystemSite PR: ports/54550 Submitted by: Tim Middleton <x@vex.net>
44 lines
997 B
Makefile
44 lines
997 B
Makefile
# New ports collection makefile for: FileSystemSite
|
|
# Date created: 16 Jul 2003
|
|
# Whom: Tim Middleton
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= FileSystemSite
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= www zope
|
|
MASTER_SITES= http://www.zope.org/Members/k_vertigo/Products/FileSystemSite/default/
|
|
PKGNAMEPREFIX= zope-
|
|
DISTNAME= FileSystemSite-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= x@Vex.Net
|
|
COMMENT= Enable file system based sites within Zope
|
|
|
|
USE_PYTHON= yes
|
|
USE_ZOPE= yes
|
|
DIST_SUBDIR= zope
|
|
|
|
ZOPEPRODUCTNAME=${PORTNAME}
|
|
|
|
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>
|