ports/72576: [NEW PORT] www/zope-mimetypesregistry

Filippo Natali filippo at widestore.net
Tue Oct 12 13:10:24 UTC 2004


>Number:         72576
>Category:       ports
>Synopsis:       [NEW PORT] www/zope-mimetypesregistry
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 12 13:10:24 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 at cagnina.hq.widestore.net:/usr/obj/usr/src/sys/CAGNINA



>Description:


www/zope-mimetypesregistry: a Zope product for mime types information handling.
needed by the new version of www/zope-archetypes.


>How-To-Repeat:





>Fix:


--- zope-mimetypesregistry-20041012.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	zope-mimetypesregistry
#	zope-mimetypesregistry/Makefile
#	zope-mimetypesregistry/distinfo
#	zope-mimetypesregistry/pkg-descr
#
echo c - zope-mimetypesregistry
mkdir -p zope-mimetypesregistry > /dev/null 2>&1
echo x - zope-mimetypesregistry/Makefile
sed 's/^X//' >zope-mimetypesregistry/Makefile << 'END-of-zope-mimetypesregistry/Makefile'
X# New ports collection makefile for:	zope-mimetypesregistry
X# Date created:				06 Oct 2004
X# Whom:					Filippo Natali
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mimetypesregistry
XPORTVERSION=	1.3.2
XCATEGORIES=	www zope
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	archetypes
XPKGNAMEPREFIX=	zope-
XDISTNAME=	MimetypesRegistry-${PORTVERSION}-4
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	filippo at widestore.net
XCOMMENT=	MimetypesRegistry product for Zope/CMF
X
XRUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
X
XUSE_PYTHON=	yes
XUSE_ZOPE=	yes
XDIST_SUBDIR=	zope
X
XZOPEPRODUCTNAME=	MimetypesRegistry
X
XWRKSRC=	${WRKDIR}/${ZOPEPRODUCTNAME}
XPLIST=	${WRKDIR}/pkg-plist
X
Xdo-build:
X	-@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
X
Xpre-install:
X	@${RM} -f ${PLIST}
X	@${TOUCH} ${PLIST}
X	@cd ${WRKDIR} && \
X	for f in `${FIND} ${ZOPEPRODUCTNAME} -type f`; do \
X		${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \
X	done; \
X	for d in `${FIND} -d ${ZOPEPRODUCTNAME} -type d`; do \
X		${ECHO_CMD} @dirrm %%ZOPEPRODUCTDIR%%/$${d} >> ${PLIST}; \
X	done; \
X
Xdo-install:
X	@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
X	@${CHMOD} -R og+rX ${WRKSRC}/
X	@${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
X
Xpost-install:
X.if !defined(BATCH)
X	@${ECHO} Restart Zope to complete installation of ${PORTNAME}
X.endif
X
X.include <bsd.port.mk>
END-of-zope-mimetypesregistry/Makefile
echo x - zope-mimetypesregistry/distinfo
sed 's/^X//' >zope-mimetypesregistry/distinfo << 'END-of-zope-mimetypesregistry/distinfo'
XMD5 (zope/MimetypesRegistry-1.3.2-4.tgz) = 055d4aeacc4bbe28dacb058e98558475
XSIZE (zope/MimetypesRegistry-1.3.2-4.tgz) = 69242
END-of-zope-mimetypesregistry/distinfo
echo x - zope-mimetypesregistry/pkg-descr
sed 's/^X//' >zope-mimetypesregistry/pkg-descr << 'END-of-zope-mimetypesregistry/pkg-descr'
XMimetypes Registry
X
XThis Zope product provides a new tool for the CMF in order to make MIME
Xtypes based transformations on the portal contents, and so an easy to way to
Xplugin some new transformations for previously unsupported content types. The
Xprovided tool is:
X 
X * mimetypes_registry (the mimetypes tool) : handle mime types information
X 
XWWW: http://sourceforge.net/projects/archetypes
END-of-zope-mimetypesregistry/pkg-descr
exit

--- zope-mimetypesregistry-20041012.shar ends here ---



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



More information about the freebsd-ports-bugs mailing list