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>
2004-02-20 01:04:58 +01:00
|
|
|
# New ports collection makefile for: zope-cmfactionicons
|
|
|
|
# Date created: 21 January 2004
|
|
|
|
# Whom: Khairil Yusof
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cmfactionicons
|
|
|
|
PORTVERSION= 0.9
|
|
|
|
CATEGORIES= www zope
|
2005-11-25 04:58:32 +01:00
|
|
|
MASTER_SITES= http://www.zope.org/Members/tseaver/CMFActionIcons/CMFActionIcons-0.9/
|
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>
2004-02-20 01:04:58 +01:00
|
|
|
PKGNAMEPREFIX= zope-
|
|
|
|
DISTNAME= CMFActionIcons-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= kaeru@inigo-tech.com
|
|
|
|
COMMENT= CMFActionIcons product for Zope/CMF
|
|
|
|
|
2004-05-03 13:31:41 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
|
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>
2004-02-20 01:04:58 +01:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_ZOPE= yes
|
|
|
|
DIST_SUBDIR= zope
|
|
|
|
|
|
|
|
ZOPEPRODUCTNAME= CMFActionIcons
|
|
|
|
|
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}-${PORTVERSION}/${ZOPEPRODUCTNAME}
|
|
|
|
|
2008-01-13 04:39:25 +01:00
|
|
|
CONFLICTS= plone[0-9]*-[0-9]*
|
2005-12-02 13:00:34 +01: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>
2004-02-20 01:04:58 +01:00
|
|
|
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>
|