Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 15:53:02 +0200
From:      "Filippo Natali" <filippo@widestore.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/72580: [MAINTAINER UPDATE] www/zope-archetypes to 1.3.0
Message-ID:  <1097589182.0@cagnina.hq.widestore.net>
Resent-Message-ID: <200410121400.i9CE0iTf015001@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72580
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] www/zope-archetypes to 1.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 12 14:00:44 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Filippo Natali
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Widestore srl 
>Environment:


System: FreeBSD 4.10-STABLE #0: Wed Aug 18 12:01:49 CEST 2004
    root@cagnina.hq.widestore.net:/usr/obj/usr/src/sys/CAGNINA



>Description:


Update www/zope-archetypes to 1.3.0.
This update depends from other ports in the pr queue:

ports/72574
ports/72575
ports/72576
ports/72577


>How-To-Repeat:





>Fix:


--- zope-archetypes-20041012.diff begins here ---
diff -Nru /usr/ports/www/zope-archetypes/Makefile zope-archetypes/Makefile
--- /usr/ports/www/zope-archetypes/Makefile	Mon May  3 13:35:55 2004
+++ zope-archetypes/Makefile	Tue Oct 12 14:35:35 2004
@@ -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 -Nru /usr/ports/www/zope-archetypes/distinfo zope-archetypes/distinfo
--- /usr/ports/www/zope-archetypes/distinfo	Sat Apr 10 22:41:17 2004
+++ zope-archetypes/distinfo	Tue Oct 12 14:35:35 2004
@@ -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
--- zope-archetypes-20041012.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1097589182.0>