Download raw body.
[new] devel/sbt 1.9.8
On 2024/03/26 10:54, Kirill A. Korinsky wrote:
> Folks,
>
> this is reminder about this new port.
Here are a few small tweaks (commented diff below, new tar attached).
With these it's ok sthen@ (need a second ok or another developer to
import on mine).
> I really hope that it can be included into 7.5
7.5 is done, final packages are already built for several archs.
:
: diff --git Makefile Makefile
: index 0729e04..ae508c1 100644
: --- Makefile
: +++ Makefile
: @@ -1,4 +1,4 @@
: -COMMENT= the interactive build tool
: +COMMENT= interactive build tool, primarily for Scala/Java
gives a better clue what it's normally used for
: V= 1.9.9
: DISTNAME= sbt-$V
: @@ -19,22 +19,18 @@ RUN_DEPENDS= java/javaPathHelper \
: NO_BUILD= Yes
: NO_TEST= Yes
:
: -SBT_HOME= ${LOCALBASE}/sbt
: -
: -SUBST_VARS+= SBT_HOME
: -
unused
: WRKDIST = ${WRKDIR}/sbt
:
: do-install:
: + ${SUBST_CMD} ${WRKSRC}/bin/sbt
: ${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/sbt
: cd ${WRKDIST} && \
: tar -cf - bin conf `find * -prune -type f` | \
: tar -C ${PREFIX}/libexec/sbt -xf -
: - ${SUBST_CMD} ${WRKSRC}/bin/sbt ${PREFIX}/libexec/sbt/bin/sbt
might as well only run the subst on one file
: ${SUBST_PROGRAM} ${FILESDIR}/sbt ${PREFIX}/bin/sbt
: find ${WRKINST} \( \
: -name \*.bat -o -name \*.exe -o -name \*-linux -o -name \*-darwin \
: - -o -name \*.orig.port -o -name \*.beforesubst \
: + -o -name \*${PATCHORIG} -o -name \*.beforesubst \
: \) -delete
handle the case where someone overrides PATCHORIG in mk.conf
: .include <bsd.port.mk>
[new] devel/sbt 1.9.8