From owner-freebsd-ports@FreeBSD.ORG Sat Dec 17 08:23:13 2011 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 6239C106566B for ; Sat, 17 Dec 2011 08:23:13 +0000 (UTC) (envelope-from christer.edwards@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id DB1758FC16 for ; Sat, 17 Dec 2011 08:23:12 +0000 (UTC) Received: by lahl5 with SMTP id l5so2395491lah.13 for ; Sat, 17 Dec 2011 00:23:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=nV0VWoiBSHXrcwlIHszJHjLawW567b8HsntTMeuRYe0=; b=qFHjmoKFqly/Z4VhDro74VRGNnK/tbweT4EkU0U+tLLsinnjyLDpBwTcH7HubxASO2 jBeXJAxBHDME4rRAPgjB4luX/jkZgFpADAqrl0YxpDdh2AsfQ2R+zZzkLeS/RzrSTN2D tzYDzsf07+SXWxaKtb1iKx7/2fCRO2hg2m7wo= Received: by 10.152.134.10 with SMTP id pg10mr10394270lab.3.1324108477488; Fri, 16 Dec 2011 23:54:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.20.134 with HTTP; Fri, 16 Dec 2011 23:54:16 -0800 (PST) From: Christer Edwards Date: Sat, 17 Dec 2011 00:54:16 -0700 Message-ID: To: "freebsd-ports@FreeBSD.org" Content-Type: text/plain; charset=UTF-8 Subject: RUN_DEPENDS for python based port 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: Sat, 17 Dec 2011 08:23:13 -0000 I've been working on building my first python based port recently and I'm running into some issue that I'm hoping the list can provide some tips for. Currently the Makefile looks like this: ----- # New ports collection makefile for: salt # Date created: 17 Dec 2011 # Whom: cedwards # # $FreeBSD$ # PORTNAME= salt PORTVERSION= 0.9.4 CATEGORIES= sysutils python MASTER_SITES= https://github.com/downloads/saltstack/salt/ MAINTAINER= christer.edwards@gmail.com COMMENT= Central system and configuration manager LIB_DEPENDS= zmq.1:${PORTSDIR}/devel/zmq USE_PYTHON= yes USE_PYDISTUTILS=yes RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml \ ${PYTHON_SITELIBDIR}/zmq/__init__.py}:${PORTSDIR}/devel/py-pyzmq \ ${PYTHON_SITELIBDIR}/Crypto/Cipher/__init__.py:${PORTSDIR}/security/py-pycrypto \ ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}/jinja2/__init__.py:${PORTSDIR}/devel/py-Jinja2 \ ${PYTHON_PKGNAMEPREFIX}M2Crypto>=0:${PORTSDIR}/security/py-m2crypto .include ----- I'm not sure if I've done the RUN_DEPENDS properly, because when I try to 'make' the port, it tries running the salt tool and complains about missing python modules. The modules are of course provided by the depends, but they don't get installed if they're missing. I'd really like whatever feedback the list can offer to getting this ported properly. Cheers, Christer