2003-12-29 06:05:40 +01:00
|
|
|
# New ports collection makefile for: FileSystemSite
|
|
|
|
# Date created: 16 Jul 2003
|
|
|
|
# Whom: Tim Middleton
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= FileSystemSite
|
2005-09-14 00:01:25 +02:00
|
|
|
PORTVERSION= 1.4.2
|
2003-12-29 06:05:40 +01:00
|
|
|
CATEGORIES= www zope
|
2005-09-14 00:01:25 +02:00
|
|
|
MASTER_SITES= http://www.infrae.com/download/${PORTNAME}/${PORTVERSION}/
|
2003-12-29 06:05:40 +01:00
|
|
|
PKGNAMEPREFIX= zope-
|
2004-01-02 21:59:20 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
2003-12-29 06:05:40 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-09-14 00:01:25 +02:00
|
|
|
MAINTAINER= x@vex.net
|
2003-12-29 06:05:40 +01:00
|
|
|
COMMENT= Enable file system based sites within Zope
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_ZOPE= yes
|
|
|
|
DIST_SUBDIR= zope
|
|
|
|
|
|
|
|
ZOPEPRODUCTNAME=${PORTNAME}
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
2004-04-30 14:08:47 +02:00
|
|
|
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
|
|
|
|
@${CHMOD} -R og+rX ${WRKSRC}/
|
|
|
|
@${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
|
2003-12-29 06:05:40 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|