aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-13 19:45:44 +0800
committerpav <pav@FreeBSD.org>2004-10-13 19:45:44 +0800
commit3298f8391c3d2d04baa4c2289e9fb22f7cfb0785 (patch)
treedf5671679fa6778b7f7766a0dff500c9b3255c16 /www
parentd560fb953b2e8a208e3293f53f6693248f255934 (diff)
downloadfreebsd-ports-graphics-3298f8391c3d2d04baa4c2289e9fb22f7cfb0785.tar.gz
freebsd-ports-graphics-3298f8391c3d2d04baa4c2289e9fb22f7cfb0785.tar.zst
freebsd-ports-graphics-3298f8391c3d2d04baa4c2289e9fb22f7cfb0785.zip
Add zope-validation, a data validation product for Zope.
PR: ports/72574 Submitted by: Filippo Natali <filippo@widestore.net>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/zope-validation/Makefile51
-rw-r--r--www/zope-validation/distinfo2
-rw-r--r--www/zope-validation/pkg-descr4
4 files changed, 58 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 528ad678be2..805480e3fb3 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -746,6 +746,7 @@
SUBDIR += zope-silvaviews
SUBDIR += zope-soapmethod
SUBDIR += zope-ttwtype
+ SUBDIR += zope-validation
SUBDIR += zope-xmlmethods
SUBDIR += zope-xmlwidgets
SUBDIR += zope-zmysqlda
diff --git a/www/zope-validation/Makefile b/www/zope-validation/Makefile
new file mode 100644
index 00000000000..2f14e2477e2
--- /dev/null
+++ b/www/zope-validation/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: zope-validation
+# Date created: 06 Oct 2004
+# Whom: Filippo Natali
+#
+# $FreeBSD$
+#
+
+PORTNAME= validation
+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= Validation 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-validation/distinfo b/www/zope-validation/distinfo
new file mode 100644
index 00000000000..7a2f8ca3334
--- /dev/null
+++ b/www/zope-validation/distinfo
@@ -0,0 +1,2 @@
+MD5 (zope/validation-1.3.0-8.tgz) = e49f89391fa6218b63642fca40af01a0
+SIZE (zope/validation-1.3.0-8.tgz) = 9778
diff --git a/www/zope-validation/pkg-descr b/www/zope-validation/pkg-descr
new file mode 100644
index 00000000000..0bb9a88e2a4
--- /dev/null
+++ b/www/zope-validation/pkg-descr
@@ -0,0 +1,4 @@
+validator
+
+Data validation package, originally designed for Archetypes but usable as a
+standalone package.