2003-12-29 05:01:56 +00:00
|
|
|
# New ports collection makefile for: XMLWidgets
|
|
|
|
# Date created: 3 Jul 2003
|
|
|
|
# Whom: Tim Middleton
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xmlwidgets
|
2004-01-13 20:48:27 +00:00
|
|
|
PORTVERSION= 0.10.3
|
2004-02-16 17:09:17 +00:00
|
|
|
PORTREVISION= 1
|
2003-12-29 05:01:56 +00:00
|
|
|
CATEGORIES= www zope
|
2004-01-02 20:55:36 +00:00
|
|
|
MASTER_SITES= http://zope.org/Members/infrae/XMLWidgets/XMLWidgets-${PORTVERSION}/
|
2003-12-29 05:01:56 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
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>
|