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

PORTNAME=   viewcvs
PORTVERSION=    0.9.3
CATEGORIES= devel python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python version of Zeller's cvsweb

USE_PYTHON= yes
NO_BUILD=   yes
PKGMESSAGE= ${WRKDIR}/pkg-message
INSTDIR?=   ${PORTNAME}-${PORTVERSION}
PLIST_SUB=  INSTDIR=${INSTDIR}

do-install:
    @(cd ${WRKSRC} && INSTDIR=${PREFIX}/${INSTDIR} ${PYTHON_CMD} viewcvs-install)

post-install:
    @ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/${INSTDIR}:g" ${MASTERDIR}/pkg-message >${PKGMESSAGE}
    @ ${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>