aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-13 19:52:43 +0800
committerpav <pav@FreeBSD.org>2004-10-13 19:52:43 +0800
commitedc76408cb4c2ada9311fb34783e20f4e95a50ef (patch)
tree98ad1b60cf406a9f524efd7b3d00708de927a4b8 /www
parent39dfe9b6981bd83ac2f663dc8dc9f638735fa1b4 (diff)
downloadfreebsd-ports-gnome-edc76408cb4c2ada9311fb34783e20f4e95a50ef.tar.gz
freebsd-ports-gnome-edc76408cb4c2ada9311fb34783e20f4e95a50ef.tar.zst
freebsd-ports-gnome-edc76408cb4c2ada9311fb34783e20f4e95a50ef.zip
Add zope-generator, a widget generator product for Zope, needed for new
version of archetype. PR: ports/72575 Submitted by: Filippo Natali <filippo@widestore.net>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/zope-generator/Makefile51
-rw-r--r--www/zope-generator/distinfo2
-rw-r--r--www/zope-generator/pkg-descr4
4 files changed, 58 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 805480e3fb35..8b22e912bc50 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -733,6 +733,7 @@
SUBDIR += zope-epoz
SUBDIR += zope-exuserfolder
SUBDIR += zope-formulator
+ SUBDIR += zope-generator
SUBDIR += zope-groupuserfolder
SUBDIR += zope-guf
SUBDIR += zope-i18nlayer
diff --git a/www/zope-generator/Makefile b/www/zope-generator/Makefile
new file mode 100644
index 000000000000..b8cdff7b6758
--- /dev/null
+++ b/www/zope-generator/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: zope-generator
+# Date created: 06 Oct 2004
+# Whom: Filippo Natali
+#
+# $FreeBSD$
+#
+
+PORTNAME= generator
+PORTVERSION= 1.3.0
+CATEGORIES= www zope
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= archetypes
+PKGNAMEPREFIX= zope-
+DISTNAME= ${PORTNAME}-${PORTVERSION}-8
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= filippo@widestore.net
+COMMENT= Generator product for Zope
+
+USE_PYTHON= yes
+USE_ZOPE= yes
+DIST_SUBDIR= zope
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST= ${WRKDIR}/pkg-plist
+
+do-build:
+ -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
+pre-install:
+ @${RM} -f ${PLIST}
+ @${TOUCH} ${PLIST}
+ @cd ${WRKDIR} && \
+ for f in `${FIND} ${PORTNAME} -type f`; do \
+ ${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \
+ done; \
+ for d in `${FIND} -d ${PORTNAME} -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)
+ @${ECHO} Restart Zope to complete installation of ${PORTNAME}
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/zope-generator/distinfo b/www/zope-generator/distinfo
new file mode 100644
index 000000000000..d681f441b199
--- /dev/null
+++ b/www/zope-generator/distinfo
@@ -0,0 +1,2 @@
+MD5 (zope/generator-1.3.0-8.tgz) = 148dbce4cd8baa191030ff5fc9accd16
+SIZE (zope/generator-1.3.0-8.tgz) = 3993
diff --git a/www/zope-generator/pkg-descr b/www/zope-generator/pkg-descr
new file mode 100644
index 000000000000..f89a0f0557ef
--- /dev/null
+++ b/www/zope-generator/pkg-descr
@@ -0,0 +1,4 @@
+generator
+
+Widget generator package, originally designed for Archetypes but usable as a
+standalone package.