diff options
Diffstat (limited to 'www/zope-annotations/Makefile')
-rw-r--r-- | www/zope-annotations/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/www/zope-annotations/Makefile b/www/zope-annotations/Makefile new file mode 100644 index 000000000000..ea13a3644364 --- /dev/null +++ b/www/zope-annotations/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: Annotations +# Date created: 30 Dec 2003 +# Whom: Tim Middleton +# +# $FreeBSD$ +# + +PORTNAME= annotations +PORTVERSION= 0.4.3 +CATEGORIES= www zope +MASTER_SITES= http://zope.org/Members/infrae/Annotations/Annotations-${PORTVERSION}/ +PKGNAMEPREFIX= zope- +DISTNAME= Annotations-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= x@Vex.Net +COMMENT= A generic way to add information to arbitrary Zope objects + +USE_PYTHON= yes +USE_ZOPE= yes +DIST_SUBDIR= zope + +ZOPEPRODUCTNAME=Annotations + +# yes, some of us are running zope on python 2.3 +#PYTHON_VERSION= python2.3 + +# You can change this in the environment if you like. +#SZOPEBASEDIR?= www/Zope + +PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} +WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME} +CPIO= cpio --quiet -pdum -R + +do-build: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + @ ${CHMOD} -R og+rX ${WRKSRC}/ + @ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME} + @ cd ${WRKSRC} && ${FIND} . \ + | ${CPIO} ${BINOWN}:${BINGRP} \ + ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME} + +post-install: +.if !defined(BATCH) + @${CAT} ${PKGMESSAGE} +.endif + +.include <bsd.port.mk> |