aboutsummaryrefslogtreecommitdiffstats
path: root/www/zope-cmf
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2000-10-28 04:34:25 +0800
committernbm <nbm@FreeBSD.org>2000-10-28 04:34:25 +0800
commitdd4798d2856fc4112d33fd3efbda220b96fa7d7c (patch)
tree884bc9744cc65d84ceaa5e3da08141665e0d4976 /www/zope-cmf
parent7b7c6732f00f8e2a17e507ddcc326b114a3c3a46 (diff)
downloadfreebsd-ports-graphics-dd4798d2856fc4112d33fd3efbda220b96fa7d7c.tar.gz
freebsd-ports-graphics-dd4798d2856fc4112d33fd3efbda220b96fa7d7c.tar.zst
freebsd-ports-graphics-dd4798d2856fc4112d33fd3efbda220b96fa7d7c.zip
Put appropriate stuff in pkg-comment and pkg-descr
Submitted by: Johann Visagie <johann@egenetics.com> Try a bit harder to get this to work out of the box, and describe how to import the demo portal that is required to use this product.
Diffstat (limited to 'www/zope-cmf')
-rw-r--r--www/zope-cmf/Makefile13
-rw-r--r--www/zope-cmf/pkg-comment2
-rw-r--r--www/zope-cmf/pkg-descr16
-rw-r--r--www/zope-cmf/pkg-plist8
4 files changed, 22 insertions, 17 deletions
diff --git a/www/zope-cmf/Makefile b/www/zope-cmf/Makefile
index e868daab591..74c64e5cec7 100644
--- a/www/zope-cmf/Makefile
+++ b/www/zope-cmf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zope-ptk
PORTVERSION= 0.8.2
+PORTREVISION= 1
CATEGORIES= www zope
MASTER_SITES= http://www.zope.org/Products/PTK/
DISTNAME= ZopePTK-${PORTVERSION}-complete
@@ -20,6 +21,8 @@ NO_WRKSUBDIR= YES
DIST_SUBDIR= zope
+PKGMESSAGE= ${WRKDIR}/.message
+
# You can change this in the environment if you like.
SZOPEBASEDIR?= www/Zope
@@ -31,7 +34,17 @@ ZOPEPRODUCTDIR= lib/python/Products
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
do-install:
+ @${CHMOD} -R og+rX ${WRKSRC}/${ZOPEPRODUCTDIR}/
+ @#
+ @${RM} -Rf ${WRKSRC}/${ZOPEPRODUCTDIR}/DemoPortal
@${CP} -R ${WRKSRC}/${ZOPEPRODUCTDIR}/ \
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
+ @#
+ @${CP} ${WRKSRC}/${ZOPEPRODUCTDIR}/PTKDemo/DemoPortal.zexp \
+ ${ZOPEBASEDIR}/import/
+ @#
+ @perl -pe 's#%%PREFIX%%#${PREFIX}#' \
+ pkg-message > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/www/zope-cmf/pkg-comment b/www/zope-cmf/pkg-comment
index 89f2d265e69..e6a74186494 100644
--- a/www/zope-cmf/pkg-comment
+++ b/www/zope-cmf/pkg-comment
@@ -1 +1 @@
-A mechanism for the automatic creation and maintenance of Knowledge Bases
+The Zope Portal Toolkit (PTK)
diff --git a/www/zope-cmf/pkg-descr b/www/zope-cmf/pkg-descr
index 5672b3c43c9..f8a258b42b2 100644
--- a/www/zope-cmf/pkg-descr
+++ b/www/zope-cmf/pkg-descr
@@ -1,14 +1,4 @@
-The KnowledgeKit provides a mechanism for the automatic creation and
-maintenance of Knowledge Bases as well as FAQs. It provides a standard view
-that integrates with the overall site Zope.
+The Zope Portal Toolkit contains most of what you need to set up and
+maintain a web portal using Zope.
-Latest Additions:
- * An example folder
- * Anonymous User FAQ Addiitons
- * FAQ moderation support
- * Knowledge Base Items can have support files
- * Default views
- * ZCatalog Awareness
- * Simple How-To Object
-
-WWW: http://www.zope.org/Members/Bill/Products/KnowledgeKit/
+WWW: http://www.zope.org/Products/PTK/
diff --git a/www/zope-cmf/pkg-plist b/www/zope-cmf/pkg-plist
index dbdaa821fa6..2c1a50b8341 100644
--- a/www/zope-cmf/pkg-plist
+++ b/www/zope-cmf/pkg-plist
@@ -1,6 +1,4 @@
-%%ZOPEBASEDIR%%/lib/python/Products/DemoPortal/__init__.py
-%%ZOPEBASEDIR%%/lib/python/Products/DemoPortal/product.dat
-%%ZOPEBASEDIR%%/lib/python/Products/DemoPortal/version.txt
+%%ZOPEBASEDIR%%/import/DemoPortal.zexp
%%ZOPEBASEDIR%%/lib/python/Products/PTKBase/DublinCore.py
%%ZOPEBASEDIR%%/lib/python/Products/PTKBase/MemberFolder.py
%%ZOPEBASEDIR%%/lib/python/Products/PTKBase/PTKBase.odm
@@ -169,3 +167,7 @@
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/PTKBase/UML-HTML
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/PTKBase
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/DemoPortal
+@dirrm %%ZOPEBASEDIR%%/lib/python/Products
+@dirrm %%ZOPEBASEDIR%%/lib/python
+@dirrm %%ZOPEBASEDIR%%/lib
+@dirrm %%ZOPEBASEDIR%%/import