- Update to 1.3.0

PR:		ports/72580
Submitted by:	Filippo Natali <filippo@widestore.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-10-16 11:00:13 +00:00
parent 4ca23f5ad2
commit d579b333cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119578
2 changed files with 27 additions and 18 deletions

View file

@ -6,38 +6,47 @@
# #
PORTNAME= archetypes PORTNAME= archetypes
PORTVERSION= 1.2.4 PORTVERSION= 1.3.0
CATEGORIES= www zope CATEGORIES= www zope
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= archetypes MASTER_SITE_SUBDIR= archetypes
PKGNAMEPREFIX= zope- PKGNAMEPREFIX= zope-
DISTNAME= archetypes-${PORTVERSION} DISTNAME= Archetypes-${PORTVERSION}-final
EXTRACT_SUFX= .tgz EXTRACT_SUFX= .tgz
DIST_SUBDIR= zope DIST_SUBDIR= zope
MAINTAINER= filippo@widestore.net MAINTAINER= filippo@widestore.net
COMMENT= Framework for the development of new Content Types in Zope/CMF/Plone COMMENT= Framework for the development of new Content Types in Zope/CMF/Plone
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \ RUN_DEPENDS= ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/PortalTransforms/__init__.py:${PORTSDIR}/www/zope-cmftransforms ${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_ZOPE= yes
USE_PYTHON= yes USE_PYTHON= yes
MODULES= ArchExample ArchGenXML Archetypes PLIST= ${WRKDIR}/pkg-plist
PYTHON_MODULES= validation generator
do-build: do-build:
-@for m in ${MODULES}; do \ -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/$$m; \
done 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: do-install:
@for pym in ${PYTHON_MODULES}; do \ @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
cd ${WRKSRC}/$$pym && ${PYTHON_CMD} setup.py install; \ @${CHMOD} -R og+rX ${WRKSRC}/
done @${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
@(cd ${WRKSRC} && ${CP} -R ${MODULES} \
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR})
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
MD5 (zope/archetypes-1.2.4.tgz) = 994742716f896f6315f0956294abada2 MD5 (zope/Archetypes-1.3.0-final.tgz) = 3e6ed5d38b5106e188b633de4006d8fd
SIZE (zope/archetypes-1.2.4.tgz) = 329433 SIZE (zope/Archetypes-1.3.0-final.tgz) = 349086