aboutsummaryrefslogtreecommitdiffstats
path: root/www/znavigator/Makefile
blob: a68537c8b1f78043a74d9bb30765a11ebb1261a8 (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
# New ports collection makefile for: ZNavigator
# Date created:     18 Sep 2000
# Whom:         Neil Blakey-Milner
#
# $FreeBSD$
#

PORTNAME=   znavigator
PORTVERSION=    2.02
PORTREVISION=   1
CATEGORIES= www zope
MASTER_SITES=   http://www.zope.org/Members/jonas/ZNavigator/${PORTVERSION}/
DISTNAME=   ${ZOPEPRODUCTNAME}-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Zope product to simplify the construction of navigation bars

USE_PYTHON= YES
USE_ZOPE=   YES
NO_BUILD=   YES
WRKSRC=     ${WRKDIR}/lib/python

# Don't change these
ZOPEPRODUCTNAME=    ZNavigator
ZOPEPRODUCTSRC=     ${WRKSRC}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}

PKGMESSAGE= ${WRKDIR}/.pkg-message

do-install:
    @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
    @${CP} -Rf ${ZOPEPRODUCTSRC}/* \
        ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
    @${CP} ${ZOPEPRODUCTSRC}/demo/navigator_demo.zexp \
        ${ZOPEBASEDIR}/import
    @${SED} -e \
        's#%%PREFIX%%#${PREFIX}#' ${FILESDIR}/MESSAGE > ${PKGMESSAGE}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>