aboutsummaryrefslogblamecommitdiffstats
path: root/www/zope-annotations/Makefile
blob: df8621b956890f0750dcbcd168f65ddb35011447 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                
                 













                                                                                      
                                            






                                                                      
                                                          






                                                             
# New ports collection makefile for: Annotations
# Date created:     30 Dec 2003
# Whom:         Tim Middleton
#
# $FreeBSD$
#

PORTNAME=   annotations
PORTVERSION=    0.4.3
PORTREVISION=   2
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

WRKSRC=     ${WRKDIR}/${ZOPEPRODUCTNAME}

do-build:
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}

do-install:
    @ ${CHMOD} -R og+rX ${WRKSRC}/
    @ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
    @ cd ${WRKSRC} && ${FIND} . \
      | ${CPIO} --quiet -pdum -R ${BINOWN}:${BINGRP} \
      ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}

post-install:
.if !defined(BATCH)
    @${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>