ports/62942: New Port: www/zope-cmfactionicons
Khairil Yusof
kaeru at streamyx.com
Tue Feb 17 01:30:25 UTC 2004
>Number: 62942
>Category: ports
>Synopsis: New Port: www/zope-cmfactionicons
>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: Mon Feb 16 17:30:23 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Khairil Yusof
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
Inigo Tech
>Environment:
System: FreeBSD wolverine.cerebro.net.my 5.2-CURRENT FreeBSD 5.2-CURRENT #4: Thu Feb 12 07:26:07 MYT 2004 root at wolverine.cerebro.net.my:/data/usr/obj/usr/src/sys/WOLVERINE i386
>Description:
CMFActionIcons
This product is a add-on for the Zope Content Management Framework (CMF). It
should be useful with Plone, CPS, and other CMF-derived extensions, as well.
The product provides:
* A new tool, portal_actionicons, which serves as a registry mapping object
actions (using category and action ID) to a descriptive title, a priority,
and an icon ID. The tool post-processes a set of actions (i.e., those
generated by the portal_actions tool), decorating them with additional
information, and sorting them according to priority.
* ZPT macros which build either horizontal or vertical icon bars for a set
of actions.
WWW: http://zope.org/Members/tseaver/CMFActionIcons
>How-To-Repeat:
>Fix:
# 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-cmfactionicons
# zope-cmfactionicons/Makefile
# zope-cmfactionicons/distinfo
# zope-cmfactionicons/pkg-descr
# zope-cmfactionicons/pkg-message
#
echo c - zope-cmfactionicons
mkdir -p zope-cmfactionicons > /dev/null 2>&1
echo x - zope-cmfactionicons/Makefile
sed 's/^X//' >zope-cmfactionicons/Makefile << 'END-of-zope-cmfactionicons/Makefile'
X# New ports collection makefile for: zope-cmfactionicons
X# Date created: 21 January 2004
X# Whom: Khairil Yusof
X#
X# $FreeBSD$
X#
X
XPORTNAME= cmfactionicons
XPORTVERSION= 0.9
XCATEGORIES= www zope
XMASTER_SITES= http://zope.org/Members/tseaver/CMFActionIcons/CMFActionIcons-0.9/
XPKGNAMEPREFIX= zope-
XDISTNAME= CMFActionIcons-${PORTVERSION}
X
XMAINTAINER= kaeru at inigo-tech.com
XCOMMENT= CMFActionIcons product for Zope/CMF
X
XRUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
X
XUSE_PYTHON= yes
XUSE_ZOPE= yes
XDIST_SUBDIR= zope
X
XZOPEPRODUCTNAME= CMFActionIcons
X
XPLIST= ${WRKDIR}/pkg-plist
XWRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}-${PORTVERSION}/${ZOPEPRODUCTNAME}
X
Xdo-build:
X @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/
X
Xpre-install:
X @${CP} ${WRKDIR}/CMFActionIcons-${PORTVERSION}/README.txt ${WRKDIR}/${ZOPEPRODUCTNAME}-${PORTVERSION}/${ZOPEPRODUCTNAME}/README.txt
X @${RM} -f ${PLIST}
X @${TOUCH} ${PLIST}
X @cd ${WRKDIR}/${ZOPEPRODUCTNAME}-${PORTVERSION} ;\
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 @${CAT} ${PKGMESSAGE}
X.endif
X
X.include <bsd.port.mk>
END-of-zope-cmfactionicons/Makefile
echo x - zope-cmfactionicons/distinfo
sed 's/^X//' >zope-cmfactionicons/distinfo << 'END-of-zope-cmfactionicons/distinfo'
XMD5 (zope/CMFActionIcons-0.9.tar.gz) = 4c33a6daefd75e5ee63a3afb693628f8
END-of-zope-cmfactionicons/distinfo
echo x - zope-cmfactionicons/pkg-descr
sed 's/^X//' >zope-cmfactionicons/pkg-descr << 'END-of-zope-cmfactionicons/pkg-descr'
XCMFActionIcons
X
XThis product is a add-on for the Zope Content Management Framework (CMF). It
Xshould be useful with Plone, CPS, and other CMF-derived extensions, as well.
XThe product provides:
X
X* A new tool, portal_actionicons, which serves as a registry mapping object
X actions (using category and action ID) to a descriptive title, a priority,
X and an icon ID. The tool post-processes a set of actions (i.e., those
X generated by the portal_actions tool), decorating them with additional
X information, and sorting them according to priority.
X
X* ZPT macros which build either horizontal or vertical icon bars for a set
X of actions.
X
XWWW: http://zope.org/Members/tseaver/CMFActionIcons
X
X- Khairil Yusof
Xkaeru at inigo-tech.com
END-of-zope-cmfactionicons/pkg-descr
echo x - zope-cmfactionicons/pkg-message
sed 's/^X//' >zope-cmfactionicons/pkg-message << 'END-of-zope-cmfactionicons/pkg-message'
XTo complete the installation of CMFActionIcons:
X
X- Restart Zope. This may be done from the Zope Control Panel.
X
XPlease read README.txt in the CMFActionIcons Product directory for more
Xinformation to complete installation.
END-of-zope-cmfactionicons/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list