diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-10-13 11:45:44 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-10-13 11:45:44 +0000 |
commit | 6fa2c4e0eceef93af72fd4617670ab4869f61081 (patch) | |
tree | a90b2eefdaeb637907ccfc7705d1d6ccc8f33caf /www/zope-validation/Makefile | |
parent | 321d73d7335690bffb6026b9ab408941d3404167 (diff) | |
download | ports-6fa2c4e0eceef93af72fd4617670ab4869f61081.tar.gz ports-6fa2c4e0eceef93af72fd4617670ab4869f61081.zip |
Notes
Diffstat (limited to 'www/zope-validation/Makefile')
-rw-r--r-- | www/zope-validation/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/www/zope-validation/Makefile b/www/zope-validation/Makefile new file mode 100644 index 000000000000..2f14e2477e25 --- /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> |