2003-12-29 06:01:56 +01:00
|
|
|
# New ports collection makefile for: XMLWidgets
|
|
|
|
# Date created: 3 Jul 2003
|
|
|
|
# Whom: Tim Middleton
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xmlwidgets
|
2006-02-07 21:48:33 +01:00
|
|
|
PORTVERSION= 0.13
|
2003-12-29 06:01:56 +01:00
|
|
|
CATEGORIES= www zope
|
2005-09-18 01:34:07 +02:00
|
|
|
MASTER_SITES= http://www.infrae.com/download/XMLWidgets/${PORTVERSION}/
|
2003-12-29 06:01:56 +01:00
|
|
|
PKGNAMEPREFIX= zope-
|
|
|
|
DISTNAME= XMLWidgets-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-09-18 01:34:07 +02:00
|
|
|
MAINTAINER= x@vex.net
|
2003-12-29 06:01:56 +01:00
|
|
|
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}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
2005-09-18 01:34:07 +02:00
|
|
|
@${CHMOD} -R og+rX ${WRKSRC}/
|
|
|
|
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
|
|
|
@${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
|
2003-12-29 06:01:56 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|