1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add zope-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.

PR:		ports/62942
Submitted by:	Khairil Yusof <kaeru@inigo-tech.com>
This commit is contained in:
Pav Lucistnik 2004-02-20 00:04:58 +00:00
parent 09ca79c9c2
commit 3a54566324
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101429
5 changed files with 81 additions and 0 deletions

View File

@ -602,6 +602,7 @@
SUBDIR += zope-btreefolder2
SUBDIR += zope-cmf
SUBDIR += zope-cmf13
SUBDIR += zope-cmfactionicons
SUBDIR += zope-cmfforum
SUBDIR += zope-cmfphoto
SUBDIR += zope-cmfphotoalbum

View File

@ -0,0 +1,54 @@
# New ports collection makefile for: zope-cmfactionicons
# Date created: 21 January 2004
# Whom: Khairil Yusof
#
# $FreeBSD$
#
PORTNAME= cmfactionicons
PORTVERSION= 0.9
CATEGORIES= www zope
MASTER_SITES= http://zope.org/Members/tseaver/CMFActionIcons/CMFActionIcons-0.9/
PKGNAMEPREFIX= zope-
DISTNAME= CMFActionIcons-${PORTVERSION}
MAINTAINER= kaeru@inigo-tech.com
COMMENT= CMFActionIcons product for Zope/CMF
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
USE_PYTHON= yes
USE_ZOPE= yes
DIST_SUBDIR= zope
ZOPEPRODUCTNAME= CMFActionIcons
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}-${PORTVERSION}/${ZOPEPRODUCTNAME}
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/
pre-install:
@${CP} ${WRKDIR}/CMFActionIcons-${PORTVERSION}/README.txt ${WRKDIR}/${ZOPEPRODUCTNAME}-${PORTVERSION}/${ZOPEPRODUCTNAME}/README.txt
@${RM} -f ${PLIST}
@${TOUCH} ${PLIST}
@cd ${WRKDIR}/${ZOPEPRODUCTNAME}-${PORTVERSION} ;\
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)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (zope/CMFActionIcons-0.9.tar.gz) = 4c33a6daefd75e5ee63a3afb693628f8

View File

@ -0,0 +1,19 @@
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
- Khairil Yusof
kaeru@inigo-tech.com

View File

@ -0,0 +1,6 @@
To complete the installation of CMFActionIcons:
- Restart Zope. This may be done from the Zope Control Panel.
Please read README.txt in the CMFActionIcons Product directory for more
information to complete installation.