0d7640e9da
Security fixes are included: * security fix: disallow bad "content-type" input [CAN-2004-1062] * security fix: disallow bad "sortby" and "cvsroot" input [CAN-2002-0771] * security fix: omit forbidden/hidden modules from tarballs [CAN-2004-0915] PR: 83753 Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
30 lines
702 B
Makefile
30 lines
702 B
Makefile
# 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>
|