aboutsummaryrefslogtreecommitdiffstats
path: root/www/zope-xmlwidgets/Makefile
diff options
context:
space:
mode:
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>