1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/sbt/Makefile
Olli Hauer 4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00

54 lines
1.3 KiB
Makefile

# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTNAME= sbt
PORTVERSION= 0.13.1
CATEGORIES= devel java
MASTER_SITES= http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/${PORTVERSION}/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
COMMENT= A build tool for Scala projects
LICENSE= APACHE20
OPTIONS_DEFINE= ADVANCED
ADVANCED_DESC= Install advanced bash shell-script
NO_BUILD= yes
USE_JAVA= yes
PLIST_FILES= bin/sbt \
%%DATADIR%%/sbt-launch.jar
PLIST_DIRS= %%DATADIR%%
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MADVANCED}
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
PLIST_FILES+= %%DATADIR%%/sbt \
%%DATADIR%%/sbt-launch-lib.bash
.else
SUB_FILES= sbt.sh
.endif
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/bin/sbt
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/bin/sbt-launch.jar ${STAGEDIR}${DATADIR}
.if ${PORT_OPTIONS:MADVANCED}
${INSTALL_SCRIPT} ${WRKSRC}/bin/sbt ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/bin/sbt-launch-lib.bash ${STAGEDIR}${DATADIR}
${LN} -s ${DATADIR}/sbt ${STAGEDIR}${PREFIX}/bin/
.else
${INSTALL_SCRIPT} ${WRKDIR}/sbt.sh ${STAGEDIR}${PREFIX}/bin/sbt
.endif
.include <bsd.port.mk>