aboutsummaryrefslogtreecommitdiffstats
path: root/devel/viewcvs/Makefile
blob: 0aaa330ff2fed01123140f3ad4e1a352bc7df2b5 (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
# 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

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>