aboutsummaryrefslogtreecommitdiffstats
path: root/www/zope-exuserfolder/Makefile
blob: 383004b93335205f3fcfeb3a51a329772f2de2c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for: Zope-XUF
# Date created:     1 Jul 2003
# Whom:         Tim Middleton
#
# $FreeBSD$
#

PORTNAME=   exuserfolder
PORTVERSION=    0.20.0
PORTREVISION=   1
CATEGORIES= www zope
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= exuserfolder
PKGNAMEPREFIX=  zope-
DISTNAME=   exUserFolder-0_20_0
EXTRACT_SUFX=   .tgz

MAINTAINER= x@Vex.Net
COMMENT=    Extensible User Folder - Custom & database authenticatoin for Zope

USE_ZOPE=   yes
USE_PYTHON= yes
DIST_SUBDIR=    zope

ZOPEPRODUCTNAME=    exUserFolder

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>