freebsd-ports/www/zope-xmlwidgets/Makefile
Edwin Groothuis 497f3442f5 [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>
2003-12-29 05:01:56 +00:00

49 lines
1.1 KiB
Makefile

# 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>