Add zope-mimetypesregistry, a Zope product for mime types information
handling. PR: ports/72576 Submitted by: Filippo Natali <filippo@widestore.net>
This commit is contained in:
parent
6ebe9a90bd
commit
e23206fb4d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119212
4 changed files with 68 additions and 0 deletions
|
@ -737,6 +737,7 @@
|
|||
SUBDIR += zope-groupuserfolder
|
||||
SUBDIR += zope-guf
|
||||
SUBDIR += zope-i18nlayer
|
||||
SUBDIR += zope-mimetypesregistry
|
||||
SUBDIR += zope-mindmapbbs
|
||||
SUBDIR += zope-mysqluserfolder
|
||||
SUBDIR += zope-parsedxml
|
||||
|
|
55
www/zope-mimetypesregistry/Makefile
Normal file
55
www/zope-mimetypesregistry/Makefile
Normal file
|
@ -0,0 +1,55 @@
|
|||
# New ports collection makefile for: zope-mimetypesregistry
|
||||
# Date created: 06 Oct 2004
|
||||
# Whom: Filippo Natali
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mimetypesregistry
|
||||
PORTVERSION= 1.3.2
|
||||
CATEGORIES= www zope
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= archetypes
|
||||
PKGNAMEPREFIX= zope-
|
||||
DISTNAME= MimetypesRegistry-${PORTVERSION}-4
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= filippo@widestore.net
|
||||
COMMENT= MimetypesRegistry product for Zope/CMF
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_ZOPE= yes
|
||||
DIST_SUBDIR= zope
|
||||
|
||||
ZOPEPRODUCTNAME= MimetypesRegistry
|
||||
|
||||
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
|
||||
do-build:
|
||||
-@${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:
|
||||
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
|
||||
@${CHMOD} -R og+rX ${WRKSRC}/
|
||||
@${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
|
||||
|
||||
post-install:
|
||||
.if !defined(BATCH)
|
||||
@${ECHO} Restart Zope to complete installation of ${PORTNAME}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/zope-mimetypesregistry/distinfo
Normal file
2
www/zope-mimetypesregistry/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (zope/MimetypesRegistry-1.3.2-4.tgz) = 055d4aeacc4bbe28dacb058e98558475
|
||||
SIZE (zope/MimetypesRegistry-1.3.2-4.tgz) = 69242
|
10
www/zope-mimetypesregistry/pkg-descr
Normal file
10
www/zope-mimetypesregistry/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
Mimetypes Registry
|
||||
|
||||
This Zope product provides a new tool for the CMF in order to make MIME
|
||||
types based transformations on the portal contents, and so an easy to way to
|
||||
plugin some new transformations for previously unsupported content types. The
|
||||
provided tool is:
|
||||
|
||||
* mimetypes_registry (the mimetypes tool) : handle mime types information
|
||||
|
||||
WWW: http://sourceforge.net/projects/archetypes
|
Loading…
Reference in a new issue