# -*- 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
maintainers {easieste @easye} openmaintainer
description A java-based build and project management environment.
Maven is a Java project management and project \
comprehension tool. Maven is based on the \
concept of a project object model (POM) in that \
all the artifacts produced by Maven are a result \
of consulting a well defined model for your \
project.Builds, documentation, source metrics, \
and source cross-references are all controlled by \
your POM. Maven 3 aims to ensure backward \
compatibility with Maven 2, improve usability, \
increase performance, allow safe embedding, and \
pave the way to implement many highly demanded \
homepage https://maven.apache.org/
master_sites apache:maven/maven-3/${version}/binaries
distname apache-maven-${version}-bin
worksrcdir apache-maven-${version}
checksums md5 6342fdf6b0aabc1457c7f8cc218127ed \
sha1 630eea2107b0742acb315b214009ba08602dda5f \
sha256 077ed466455991d5abb4748a1d022e2d2a54dc4d557c723ecbacdc857c61d51b
depends_run port:maven_select
select.file ${filespath}/maven31
# Source builds of maven are not possible. So, the default build is a binary
set maven_dir apache-maven-${version}
set maven_path ${destroot}${prefix}/share/java/${maven_dir}
# Create the target java directory exists
xinstall -m 755 -d ${maven_path}
# Copy over the needed elements of our directory tree