You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
85f053662b
In preparation for changing the default.
44 lines
1.7 KiB
Tcl
44 lines
1.7 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup java 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup ninjudd drip a4bd00df0199e78243847f06cc04ecaea31f8f08
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
version 0.2.4-17-ga4bd00d
|
|
categories java sysutils
|
|
license EPL-1
|
|
maintainers {amake @amake} openmaintainer
|
|
|
|
description Fast JVM launching without the hassle of persistent JVMs
|
|
long_description \
|
|
Drip is a launcher for the Java Virtual Machine that provides much faster \
|
|
startup times than the java command. The drip script is intended to be a \
|
|
drop-in replacement for the java command, only faster.
|
|
|
|
checksums rmd160 e3a6cf4d74615b2d8a6c20034f5dd8ab63c09641 \
|
|
sha256 52c24100bcb85d0c5bf7ab679016cd467a762191daef4b63586279f6c1ce7162 \
|
|
size 17246
|
|
|
|
use_configure no
|
|
|
|
# Newer Javas don't support -source/-target 1.5
|
|
java.version 1.8
|
|
java.fallback openjdk8
|
|
|
|
patchfiles 0001-For-MacPorts-ensure-package-mode-give-proper-upgrade.patch
|
|
patch.pre_args-replace -p0 -p1
|
|
|
|
post-patch {
|
|
reinplace s|DRIP_VERSION=.*$|DRIP_VERSION=${version}| ${worksrcpath}/bin/drip
|
|
}
|
|
|
|
destroot {
|
|
set drip_home ${prefix}/share/java/${name}
|
|
xinstall -m 0755 -d ${destroot}${drip_home}
|
|
copy ${worksrcpath}/bin ${worksrcpath}/drip.jar ${destroot}${drip_home}
|
|
ln -s ${drip_home}/bin/drip ${destroot}${prefix}/bin/drip
|
|
}
|