mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
aeeae17fd6
- Actually RUN_DEPENDS on devel/py-psyco if we are on the proper ARCH.
47 lines
958 B
Makefile
47 lines
958 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: cfv
|
|
# Date created: Jul 20, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cfv
|
|
PORTVERSION= 1.18.2
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Utility to both test and create .sfv, .csv and md5sum files
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/fchksum.so:${PORTSDIR}/security/py-fchksum
|
|
|
|
USE_PYTHON= yes
|
|
ALL_TARGET= cfv.wrapper
|
|
INSTALL_TARGET= install-wrapper
|
|
|
|
MAN1= cfv.1
|
|
|
|
OPTIONS= # start blank to enable it through the pre.mk fence
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "i386"
|
|
OPTIONS+= PSYCO "Enable devel/py-psyco optimization support" off
|
|
.else
|
|
.undef WITH_PSYCO
|
|
|
|
WITHOUT_PSYCO= yes
|
|
.endif
|
|
|
|
.if defined(WITH_PSYCO)
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-psyco-patch-Makefile
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|