summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-16 11:00:13 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-16 11:00:13 +0000
commitd579b333cfce2cfebd0250f738110f0f85a8e584 (patch)
treebe6e15f0083433f45258344af1618a330edd4602
parentAfter repocopy from zope-cmftransforms, upgrade to 1.3.2 (diff)
- Update to 1.3.0
PR: ports/72580 Submitted by: Filippo Natali <filippo@widestore.net> (maintainer)
-rw-r--r--www/zope-archetypes/Makefile41
-rw-r--r--www/zope-archetypes/distinfo4
2 files changed, 27 insertions, 18 deletions
diff --git a/www/zope-archetypes/Makefile b/www/zope-archetypes/Makefile
index f1e515654a81..25cfb74f9da6 100644
--- a/www/zope-archetypes/Makefile
+++ b/www/zope-archetypes/Makefile
@@ -6,38 +6,47 @@
#
PORTNAME= archetypes
-PORTVERSION= 1.2.4
+PORTVERSION= 1.3.0
CATEGORIES= www zope
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= archetypes
PKGNAMEPREFIX= zope-
-DISTNAME= archetypes-${PORTVERSION}
+DISTNAME= Archetypes-${PORTVERSION}-final
EXTRACT_SUFX= .tgz
DIST_SUBDIR= zope
MAINTAINER= filippo@widestore.net
COMMENT= Framework for the development of new Content Types in Zope/CMF/Plone
-RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
- ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/PortalTransforms/__init__.py:${PORTSDIR}/www/zope-cmftransforms
+RUN_DEPENDS= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
+ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/PortalTransforms/__init__.py:${PORTSDIR}/www/zope-portaltransforms \
+ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/validation/__init__.py:${PORTSDIR}/www/zope-validation \
+ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/generator/__init__.py:${PORTSDIR}/www/zope-generator \
+ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/MimetypesRegistry/__init__.py:${PORTSDIR}/www/zope-mimetypesregistry
-WRKSRC=${WRKDIR}/${DISTNAME}
+ZOPEPRODUCTNAME= Archetypes
+WRKSRC=${WRKDIR}/${ZOPEPRODUCTNAME}
USE_ZOPE= yes
USE_PYTHON= yes
-MODULES= ArchExample ArchGenXML Archetypes
-PYTHON_MODULES= validation generator
+PLIST= ${WRKDIR}/pkg-plist
do-build:
- -@for m in ${MODULES}; do \
- ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/$$m; \
- done
+ -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
+pre-install:
+ @${RM} -f ${PLIST}
+ @${TOUCH} ${PLIST}
+ @cd ${WRKDIR} && \
+ for f in `${FIND} ${ZOPEPRODUCTNAME} -type f`; do \
+ ${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \
+ done; \
+ for d in `${FIND} -d ${ZOPEPRODUCTNAME} -type d`; do \
+ ${ECHO_CMD} @dirrm %%ZOPEPRODUCTDIR%%/$${d} >> ${PLIST}; \
+ done; \
do-install:
- @for pym in ${PYTHON_MODULES}; do \
- cd ${WRKSRC}/$$pym && ${PYTHON_CMD} setup.py install; \
- done
- @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
- @(cd ${WRKSRC} && ${CP} -R ${MODULES} \
- ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR})
+ @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
+ @${CHMOD} -R og+rX ${WRKSRC}/
+ @${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
.include <bsd.port.mk>
diff --git a/www/zope-archetypes/distinfo b/www/zope-archetypes/distinfo
index ab6be3ef8a19..09a3daed9524 100644
--- a/www/zope-archetypes/distinfo
+++ b/www/zope-archetypes/distinfo
@@ -1,2 +1,2 @@
-MD5 (zope/archetypes-1.2.4.tgz) = 994742716f896f6315f0956294abada2
-SIZE (zope/archetypes-1.2.4.tgz) = 329433
+MD5 (zope/Archetypes-1.3.0-final.tgz) = 3e6ed5d38b5106e188b633de4006d8fd
+SIZE (zope/Archetypes-1.3.0-final.tgz) = 349086