aboutsummaryrefslogtreecommitdiff
path: root/www/zope-formulator/Makefile
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-04-30 08:35:50 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-04-30 08:35:50 +0000
commit0c47b09ea38ab585e11e7effeb4c8e8a4587bbb9 (patch)
treedb68c3490bbe8163521eac359fbe9d8d839eca5c /www/zope-formulator/Makefile
parent636004595d2508dab260e2c97e84d5e14ad3e3d5 (diff)
downloadports-0c47b09ea38ab585e11e7effeb4c8e8a4587bbb9.tar.gz
ports-0c47b09ea38ab585e11e7effeb4c8e8a4587bbb9.zip
Update to 1.6.2
PR: ports/65932 Submitted by: Tim Middleton <x@vex.net> (maintainer)
Notes
Notes: svn path=/head/; revision=108009
Diffstat (limited to 'www/zope-formulator/Makefile')
-rw-r--r--www/zope-formulator/Makefile25
1 files changed, 16 insertions, 9 deletions
diff --git a/www/zope-formulator/Makefile b/www/zope-formulator/Makefile
index 76a50b6f9214..1303d8062d48 100644
--- a/www/zope-formulator/Makefile
+++ b/www/zope-formulator/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= formulator
-PORTVERSION= 1.6.1
-PORTREVISION= 1
+PORTVERSION= 1.6.2
CATEGORIES= www zope
MASTER_SITES= http://zope.org/Members/infrae/Formulator/Formulator-${PORTVERSION}/
PKGNAMEPREFIX= zope-
@@ -15,7 +14,7 @@ DISTNAME= Formulator-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= x@Vex.Net
-COMMENT= Formulator - HTML form generatation and validation system
+COMMENT= HTML form generatation and validation system for Zope
USE_PYTHON= yes
USE_ZOPE= yes
@@ -26,17 +25,25 @@ CONFLICTS= plone-*
ZOPEPRODUCTNAME= Formulator
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}
-CPIO= cpio --quiet -pdum -R
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+pre-install:
+ @${RM} -f ${PLIST}
+ @${TOUCH} ${PLIST}
+ @cd ${WRKDIR} && \
+ for f in `${FIND} ${ZOPEPRODUCTNAME} -type f`; do \
+ ${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \
+ done; \
+ for d in `${FIND} -d ${ZOPEPRODUCTNAME} -type d`; do \
+ ${ECHO_CMD} @dirrm %%ZOPEPRODUCTDIR%%/$${d} >> ${PLIST}; \
+ done; \
+
do-install:
- @ ${CHMOD} -R og+rX ${WRKSRC}/
- @ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
- @ cd ${WRKSRC} && ${FIND} . \
- | ${CPIO} ${BINOWN}:${BINGRP} \
- ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
+ @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
+ @${CHMOD} -R og+rX ${WRKSRC}/
+ @${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
post-install:
.if !defined(BATCH)