2001-07-20 11:07:39 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: cfv
|
|
|
|
# Date created: Jul 20, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cfv
|
2009-07-21 02:52:28 +02:00
|
|
|
PORTVERSION= 1.18.3
|
2001-07-20 11:07:39 +02:00
|
|
|
CATEGORIES= security
|
2008-06-26 11:45:29 +02:00
|
|
|
MASTER_SITES= SF
|
2001-07-20 11:07:39 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Utility to both test and create .sfv, .csv and md5sum files
|
2001-07-20 11:07:39 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/fchksum.so:${PORTSDIR}/security/py-fchksum
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
ALL_TARGET= cfv.wrapper
|
|
|
|
INSTALL_TARGET= install-wrapper
|
|
|
|
|
|
|
|
MAN1= cfv.1
|
|
|
|
|
2009-03-06 03:14:30 +01:00
|
|
|
OPTIONS= # start blank to enable it through the pre.mk fence
|
2009-03-06 01:55:59 +01:00
|
|
|
|
2001-07-20 11:07:39 +02:00
|
|
|
post-patch:
|
2002-06-23 22:39:23 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile
|
2001-07-20 11:07:39 +02:00
|
|
|
|
2009-03-06 01:55:59 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-03-06 03:14:30 +01:00
|
|
|
.if ${ARCH} == "i386"
|
|
|
|
OPTIONS+= PSYCO "Enable devel/py-psyco optimization support" off
|
|
|
|
.else
|
|
|
|
.undef WITH_PSYCO
|
|
|
|
|
|
|
|
WITHOUT_PSYCO= yes
|
|
|
|
.endif
|
|
|
|
|
2009-03-06 01:55:59 +01:00
|
|
|
.if defined(WITH_PSYCO)
|
2009-03-06 03:14:30 +01:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
|
|
|
|
|
2009-03-06 01:55:59 +01:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-psyco-patch-Makefile
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|