Re: Anfängerfragen Ports

From: Peter Wullinger <peter.wullinger(at)gmail.com>
Date: Tue, 18 Dec 2007 14:42:23 +0100

2007/12/18, Aron Schlesinger <as(at)bsdgroup.de>:
>
> [...]
>
> Besser ist wohl:

Eindeutig.

> do-build:
> @(cd ${WRKSRC}; ${LOCALBASE}/bin/rake)

Und dazu noch eine kleine Schönheitskorrektur:

--Makefile--
do-build:
  @(cd ${WRKSRC} && ${GEM_LIB_DIR}/bin/rake)

do-install:
  @(cd ${WRKSRC} && ${GEM_LIB_DIR}/bin/rake install)

.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
--Makefile--

So wie ich das sehe, ist "GEM_LIB_DIR" nämlich
${LOCALBASE}/lib/ruby/gems/${GEM_NAME}

Wenn man rake auch für andere Ports häufiger braucht, ist es eventuell sinnvoll,
bsd.ports.mk entsprechend zu patchen und "USE_RAKE" zu unterstützen.
"USE_SCONS" gibt es ja bereits.

Grüße,
  Peter

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 18 Dec 2007 - 14:42:25 CET

search this site