1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/viewcvs/Makefile
Edwin Groothuis 51fcfef1ce i[Patch Port] devel/viewcvs (unforbidden)
This patch solves two problems of the actual ViewCVs port:
	1. it is forbidden as it is CSS-vulnerable, ViewCVS's CVS
	contains a patch but a new release was still not created
	by the authors 2. it overwrites the configuration files on
	installation

	To solve problem 1 I "back-ported" the patch 1.117 to
	lib/viewcvs.py
	http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/viewcvs/viewcvs/lib/viewcvs.py#rev1.117
	as the author itself says, it solves the problem:
	http://mailman.lyra.org/pipermail/viewcvs-dev/2002-July/000776.html

	To solve problem 2 I changed the install script to install
	viewcvs.conf.dist directly instead of renaming it to
	viewcvs.conf, leaving it up to the user and specifying it
	in the pkg-message.

PR:		 ports/51464
Submitted by:	Lapo Luchini <lapo@m4d.sm>
2003-08-24 12:40:03 +00:00

32 lines
704 B
Makefile

# 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>