aboutsummaryrefslogtreecommitdiffstats
path: root/www/zope-xmlwidgets/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-12-29 13:01:56 +0800
committeredwin <edwin@FreeBSD.org>2003-12-29 13:01:56 +0800
commitc3ab81a6c42e2fcf361953ee6fac1bdce2709e99 (patch)
treec827f15b31571a89d8de5e8be5915fe224b86137 /www/zope-xmlwidgets/Makefile
parent0429ae1ed205cdb6e8b275cdd216565e2a6573d9 (diff)
downloadfreebsd-ports-gnome-c3ab81a6c42e2fcf361953ee6fac1bdce2709e99.tar.gz
freebsd-ports-gnome-c3ab81a6c42e2fcf361953ee6fac1bdce2709e99.tar.zst
freebsd-ports-gnome-c3ab81a6c42e2fcf361953ee6fac1bdce2709e99.zip
[NEW PORT] www/zope-xmlwidgets: XMLWidgets - dynamic translations of ParsedXML to HTML pages
XMLWidgets is a Zope Product/Framework to create dynamic translations of ParsedXML documents to HTML pages. Each XML node is represented by a widget. A widget can display itself (to HTML), and handle user events (clicks, form submits) in the same HTML page. WWW: http://www.zope.org/Members/faassen/XMLWidgets PR: ports/54251 Submitted by: Tim Middleton <x@vex.net>
Diffstat (limited to 'www/zope-xmlwidgets/Makefile')
-rw-r--r--www/zope-xmlwidgets/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/www/zope-xmlwidgets/Makefile b/www/zope-xmlwidgets/Makefile
new file mode 100644
index 000000000000..76827d61f2ad
--- /dev/null
+++ b/www/zope-xmlwidgets/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: XMLWidgets
+# Date created: 3 Jul 2003
+# Whom: Tim Middleton
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmlwidgets
+PORTVERSION= 0.9
+CATEGORIES= www zope
+MASTER_SITES= http://www.zope.org/Members/faassen/XMLWidgets/${PORTVERSION}/
+PKGNAMEPREFIX= zope-
+DISTNAME= XMLWidgets-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= x@Vex.Net
+COMMENT= XMLWidgets - dynamic translations of ParsedXML to HTML pages
+
+RUN_DEPENDS= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ParsedXML/__init__.py:${PORTSDIR}/www/zope-parsedxml
+
+USE_PYTHON= yes
+USE_ZOPE= yes
+DIST_SUBDIR= zope
+
+ZOPEPRODUCTNAME=XMLWidgets
+
+# yes, some of us are running zope on python 2.2
+PYTHON_VERSION= python2.2
+
+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>