summaryrefslogtreecommitdiff
path: root/devel/viewvc/Makefile
blob: ba1267d87a007820cf19baa0e62023b8ca159818 (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:	viewcvs
# Date created:				Sun 02 Jul 2000
# Whom:					will
#
# $FreeBSD$
#

PORTNAME=	viewcvs
PORTVERSION=	0.9.2
PORTREVISION=	1
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" pkg-message >${PKGMESSAGE}
	@ ${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>