blob: f49f540a8e30a1dccfb71e40c9698f0d3f93090f (
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
|
# New ports collection makefile for: zope-zpt
# Date created: 15 August 2001
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= guf
PORTVERSION= 1.2.4
PORTREVISION= 1
CATEGORIES= www zope
MASTER_SITES= http://www.zope.org/Members/Zen/GenericUserFolder/1-2-4/
PKGNAMEPREFIX= zope-
DISTNAME= ${ZOPEPRODUCTNAME}-${PORTVERSION:S|.|-|g}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A roll-your-own user folder product for Zope
DEPRECATED= "no longer being developed: use SimpleUserFolder or exUserFolder instead"
USE_ZOPE= yes
USE_PYTHON= yes
DIST_SUBDIR= zope
ZOPEPRODUCTNAME= GenericUserFolder
WRKSRC= ${WRKDIR}/lib/python/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
CPIO_OPTIONS= --quiet -pdum -R
do-build:
@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
@ cd ${WRKSRC} && ${FIND} * | ${CPIO} ${CPIO_OPTIONS} ${BINOWN}:${BINGRP} \
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
|