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

PORTNAME=   viewvc
PORTVERSION=    1.0.1
CATEGORIES= devel python
MASTER_SITES=   http://viewvc.tigris.org/files/documents/3330/33320/

MAINTAINER= jbq@caraldi.com
COMMENT=    Web-based Version Control Repository Browsing

FETCH_DEPENDS=  wget:${PORTSDIR}/ftp/wget

FETCH_CMD=  ${LOCALBASE}/bin/wget -c
DISABLE_SIZE=   yes # Need because -S are not recognized by wget

USE_PYTHON= yes
NO_BUILD=   yes

SUB_FILES=  pkg-message
SUB_LIST=   INSTDIR="${PREFIX}/${INSTDIR}"

INSTDIR?=   ${PORTNAME}
PLIST_SUB=  INSTDIR=${INSTDIR}

do-install:
    (cd ${WRKSRC} && ${PYTHON_CMD} viewvc-install --prefix=${PREFIX}/${INSTDIR} --destdir="")

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>