Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 09:35:24 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Dmitry Marakasov <amdmi3@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r340875 - head/graphics/py-pyglet
Message-ID:  <02676048890BF03180E6CFAB@atuin.in.mat.cc>
In-Reply-To: <201401240125.s0O1PcNR065306@svn.freebsd.org>
References:  <201401240125.s0O1PcNR065306@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 24 janvier 2014 01:25:38 +0000 Dmitry Marakasov <amdmi3@FreeBSD.org>
wrote:
|  LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2 \
| -		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
| +		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
| +RUN_DEPENDS=	${LOCALBASE}/lib/libavbin.so:${PORTSDIR}/multimedia/avbin

Hum, I think you have a \ too many.

|  post-install:
| +	${MKDIR} ${STAGEDIR}${DOCSDIR}
| +	cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG NOTICE README
| ${STAGEDIR}${DOCSDIR}/  	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} .
| ${STAGEDIR}${DOCSDIR}/
|  	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/

When doing cd foo && bar, you should always enclose it inside parenthesis,
like this : (cd foo && bar) so that the following commands don't run in in
a non default directory. (I know here it doesn't really matter right now
because all the lines do cd, but it's a good habit to have.)

-- 
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02676048890BF03180E6CFAB>