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.edwa...@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 <bsd.port.mk>

-----

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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to