aboutsummaryrefslogtreecommitdiff
path: root/devel/viewvc/Makefile
blob: 32aa7d56f97f911db1b7844e0ef02eed2e921adf (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=	viewcvs
PORTVERSION=	0.9.2
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	Python version of Zeller\'s cvsweb

USE_PYTHON=	yes
NO_BUILD=	yes
PKGMESSAGE=	${WRKDIR}/pkg-message
INSTDIR?=	${PORTNAME}-${PORTVERSION}
PLIST_SUB=	INSTDIR=${INSTDIR}
FORBIDDEN=	"due to cross-site scripting vulnerabilities"

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

post-install:
	@ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/${INSTDIR}:g" pkg-message >${PKGMESSAGE}
.if !defined(BATCH)
	@ ${ECHO}
	@ ${CAT} ${PKGMESSAGE}
	@ ${ECHO}
.endif

.include <bsd.port.mk>