From owner-freebsd-ports@FreeBSD.ORG Mon Jul 28 16:16:54 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 585B61065675 for ; Mon, 28 Jul 2008 16:16:54 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id CB5D78FC2B for ; Mon, 28 Jul 2008 16:16:53 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from oook.cz (nobody@localhost [127.0.0.1]) by raven.customer.vol.cz (8.14.1/8.14.1) with ESMTP id m6SFnoLi020462; Mon, 28 Jul 2008 17:49:50 +0200 (CEST) (envelope-from pav@FreeBSD.org) From: "Pav Lucistnik" To: "Rodrigo OSORIO (ros)" , freebsd-ports@FreeBSD.org Date: Mon, 28 Jul 2008 17:49:50 +0200 Message-Id: <20080728154825.M25123@FreeBSD.org> In-Reply-To: <20080728125717.GA11044@hodja.bebik.net> References: <20080728125717.GA11044@hodja.bebik.net> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 195.122.204.152 (cvs@oook.cz) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 X-Spam-Score: -1.44 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.64 on 195.250.144.108 Cc: Subject: Re: Problem with the %%PYTHON_CMD%% variable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2008 16:16:54 -0000 On Mon, 28 Jul 2008 14:57:17 +0200, Rodrigo OSORIO (ros) wrote > I'm working in a port who is a python script. > > To launch the application I add a sh script into the files directory > to be copied in the /usr/local/bin/. > > The proble is the %%PYTHON_CMD%% is not interpretated by the > makefile when the %%PREFIX%% was perfectly. > All the port files are available at http://www.bebik.net/~rodrigo/ntlmaps/ You need to add PYTHON_CMD to list of expansions for SUB_FILES. Add something like this to your Makefile: SUB_LIST= PYTHON_CMD=${PYTHON_CMD} Also, you don't need to run depend on python, you already get that from USE_PYTHON line. -- Pav Lucistnik