aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-16 19:00:13 +0800
committerpav <pav@FreeBSD.org>2004-10-16 19:00:13 +0800
commit2bad417529a4b0ce358b0ffc8f1ab872c90ca764 (patch)
tree7141ec188c7a4d829fb9ac97064178d7202cc407 /www
parentcf958b6a7711fdd66e168dcea7f9073608d1d1b2 (diff)
downloadfreebsd-ports-gnome-2bad417529a4b0ce358b0ffc8f1ab872c90ca764.tar.gz
freebsd-ports-gnome-2bad417529a4b0ce358b0ffc8f1ab872c90ca764.tar.zst
freebsd-ports-gnome-2bad417529a4b0ce358b0ffc8f1ab872c90ca764.zip
- Update to 1.3.0
PR: ports/72580 Submitted by: Filippo Natali <filippo@widestore.net> (maintainer)
Diffstat (limited to 'www')
-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