aboutsummaryrefslogtreecommitdiff
path: root/www/zope-generator
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-13 11:52:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-13 11:52:43 +0000
commitf91b0247f3ac0a6d5382fad834fab9b21c7e4384 (patch)
tree1e28ee2c2f62403a6a835b37b8d57804e98be5d6 /www/zope-generator
parentf1efa2a42a6ab141f2dacb50775c2c0282e198bc (diff)
downloadports-f91b0247f3ac0a6d5382fad834fab9b21c7e4384.tar.gz
ports-f91b0247f3ac0a6d5382fad834fab9b21c7e4384.zip
Notes
Diffstat (limited to 'www/zope-generator')
-rw-r--r--www/zope-generator/Makefile51
-rw-r--r--www/zope-generator/distinfo2
-rw-r--r--www/zope-generator/pkg-descr4
3 files changed, 57 insertions, 0 deletions
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.