我正在尝试为cogapp 2.2创建一个新的freeBsd端口。我使用以下makefile实际上按预期获取tar.gz但不使用简单安装来安装包。
# New ports collection makefile for: cogapp
# Whom: Karthick
#
# $FreeBSD: ports/devel/py-virtualenv/Makefile,v 1.21 2011/03/12 23:53:13 nivit Exp $
#
PORTNAME= cogapp
PORTVERSION= 2.2
CATEGORIES= devel python
MASTER_SITES= http://pypi.python.org/packages/source/c/cogapp/
MAINTAINER= xyz@FreeBSD.org
COMMENT= cog port
USE_PYDISTUTILS= easy_install
.include <bsd.port.mk>
它会抛出以下错误
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
===> Extracting for cogapp-2.2
=> No checksum file (/tmp/cogapp-2.2/distinfo).
===> Patching for cogapp-2.2
===> Configuring for cogapp-2.2
===> Building for cogapp-2.2
make: cannot open Makefile.
*** Error code 1
停在/tmp/cogapp-2.2。
任何人都可以建议我解决这个问题!
答案 0 :(得分:2)
这对我有所改变:
USE_PYTHON=yes
USE_PYDISTUTILS=yes
虽然我在那里: