From owner-freebsd-ports@FreeBSD.ORG Thu Aug 16 05:41:52 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9F66106566B for ; Thu, 16 Aug 2012 05:41:52 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 3A39B8FC0A for ; Thu, 16 Aug 2012 05:41:51 +0000 (UTC) Received: (qmail invoked by alias); 16 Aug 2012 05:41:50 -0000 Received: from cpe.r57.logikom.net (EHLO misterbean90now.no-ip.biz) [213.244.239.57] by mail.gmx.net (mp070) with SMTP; 16 Aug 2012 07:41:50 +0200 X-Authenticated: #134568197 X-Provags-ID: V01U2FsdGVkX18c9TsaFW0cgQCnfCrAYmULaHCfGUijeHgfBFyl0f 8otTTkFkqE2rXM Date: Thu, 16 Aug 2012 07:41:50 +0200 From: nemysis To: freebsd-ports@freebsd.org, crees@FreeBSD.org Message-ID: <20120816074150.4a02ca8b@misterbean90now.no-ip.biz> In-Reply-To: <20120815230803.2e2d3434@misterbean90now.no-ip.biz> References: <20120815230803.2e2d3434@misterbean90now.no-ip.biz> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: Re: FreeBSD new Port graphics/py-pyglet-devel 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: Thu, 16 Aug 2012 05:41:52 -0000 On Wed, 15 Aug 2012 23:08:03 +0200 nemysis wrote: > Hello > > I have made pyglet new version 1.2alpha1 too. Works with amd64 not more only i386. > > This Port works but have not send as a PR, why have seen that this Port need patches > > from > > /usr/include > > to > > ${PREFIX}/include > > > Without this ${REINPLACE_CMD} works all and install good. > > > Have all this tried but not works > > PORTDATA= * PORTDOCS= CHANGELOG NOTICE README > DATADIR= ${PYTHON_SITELIBDIR}/${PORTNAME} > PYDISTUTILS_EGGINFO= ${DISTNAME}-py${PYTHON_VER}.egg-info > #PATCH_FILES= "pyglet/gl/gl.py pyglet/gl/glext_arb.py pyglet/gl/glext_nv.py pyglet/gl/glu.py \ > # pyglet/gl/glx.py pyglet/gl/glxext_arb.py pyglet/gl/glxext_nv.py pyglet/input/evdev_constan > ts.py \ > # pyglet/libs/x11/cursorfont.py pyglet/libs/x11/xf86vmode.py pyglet/libs/x11/xinerama.py \ > # pyglet/libs/x11/xinput.py pyglet/libs/x11/xlib.py pyglet/libs/x11/xsync.py \ > # pyglet/media/drivers/openal/lib_alc.py pyglet/media/drivers/openal/lib_openal.py \ > # pyglet/media/drivers/pulse/lib_pulseaudio.py" > PATCH_FILES= gl/gl.py gl/glext_arb.py gl/glext_nv.py gl/glu.py \ > gl/glx.py gl/glxext_arb.py gl/glxext_nv.py input/evdev_constants.py \ > libs/x11/cursorfont.py libs/x11/xf86vmode.py libs/x11/xinerama.py \ > libs/x11/xinput.py libs/x11/xlib.py libs/x11/xsync.py \ > media/drivers/openal/lib_alc.py media/drivers/openal/lib_openal.py \ > media/drivers/pulse/lib_pulseaudio.py > > PATCH_FILES_GL= gl.py glext_arb.py glext_nv.py glu.py \ > glx.py glxext_arb.py glxext_nv.py > > .include > .include > > post-patch: > cd ${WRKSRC}/pyglet/gl/ > . for p in ${PATCH_FILES_GL} > @${REINPLACE_CMD} -e 's|/usr/include|${PREFIX}/include|g' ${PATCH_FILES_GL} > . endfor > > > What can I do to make this Files to patch? I knew to make files with different content as > > files/patch- > > but here are the same content to change and this is Waste to have many patch- files only to change to > > ${PREFIX}/include > > Regards, > nemysis > Have self found the Solution, sorry for disturbance post-patch: @(cd ${WRKSRC}/pyglet/ && ${REINPLACE_CMD} -e 's|/usr/include|${PREFIX}/include|g' gl/gl.py \ gl/glext_arb.py gl/glext_nv.py gl/glu.py gl/glx.py gl/glxext_arb.py gl/glxext_nv.py \ input/evdev_constants.py libs/x11/cursorfont.py libs/x11/xf86vmode.py libs/x11/xinerama.py \ libs/x11/xinput.py libs/x11/xlib.py libs/x11/xsync.py media/drivers/openal/lib_alc.py \ media/drivers/openal/lib_openal.py media/drivers/pulse/lib_pulseaudio.py) grep -r /usr/include /usr/local/lib/python2.7/site-packages/pyglet Nothing found :D --