aboutsummaryrefslogtreecommitdiffstats
path: root/devel/viewvc/Makefile
blob: c4278287de7a176e3ed9767f99f254b68189ea13 (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
# New ports collection makefile for:    groach
# Date created:             Sun 02 Jul 2000
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   viewcvs
PORTVERSION=    0.5
CATEGORIES= devel python
MASTER_SITES=   http://www.lyra.org/viewcvs/

MAINTAINER= ports@FreeBSD.org

BUILD_DEPENDS=  python:${PORTSDIR}/lang/python
RUN_DEPENDS=    python:${PORTSDIR}/lang/python

NO_BUILD=   yes

pre-install:
    ${PERL} -pi -e "s:/usr/local/viewcvs:${PREFIX}/share/viewcvs:g" ${WRKSRC}/viewcvs-install

do-install:
    (cd ${WRKSRC} && ${LOCALBASE}/bin/python ${WRKSRC}/viewcvs-install)

post-install:
    @${ECHO}
    @${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
    @${ECHO}

.include <bsd.port.mk>