mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
7e52725f2a
Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# 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
|
|
CATEGORIES= www zope
|
|
MASTER_SITES= http://www.zope.org/Members/Zen/GenericUserFolder/
|
|
PKGNAMEPREFIX= zope-
|
|
DISTNAME= ${ZOPEPRODUCTNAME}-${PORTVERSION:S|.|-|g}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= wjv@FreeBSD.org
|
|
COMMENT= A roll-your-own user folder product for Zope
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
|
|
|
|
USE_PYTHON= yes
|
|
DIST_SUBDIR= zope
|
|
|
|
# You can change this in the environment if you like
|
|
SZOPEBASEDIR?= www/Zope
|
|
|
|
# Don't change these
|
|
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
|
|
ZOPEPRODUCTNAME= GenericUserFolder
|
|
ZOPEPRODUCTDIR= lib/python/Products
|
|
|
|
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
|
|
WRKSRC= ${WRKDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
|
|
CPIO= cpio --quiet -pdum -R
|
|
|
|
do-build:
|
|
@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
do-install:
|
|
@ ${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>
|