pkgsrc/devel/apache-maven/Makefile
rillig 508923f461 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:13 +00:00

49 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2020/01/18 23:30:22 rillig Exp $
#
DISTNAME= apache-maven-3.5.4
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE:=maven/maven-3/${PKGVERSION_NOREV}/binaries/}
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX}
MAINTAINER= yyamano@NetBSD.org
HOMEPAGE= https://maven.apache.org/
COMMENT= Apache Project's software project management and comprehension tool
LICENSE= apache-2.0
USE_JAVA= run
USE_JAVA2= 7
USE_TOOLS+= pax
NO_BUILD= yes
SUBST_CLASSES+= maven
SUBST_FILES.maven= bin/m2.conf bin/mvn
SUBST_STAGE.maven= pre-configure
SUBST_VARS.maven= PKG_JAVA_HOME PKG_SYSCONFDIR PREFIX
INSTALLATION_DIRS= bin etc/maven lib/java/maven lib/java/maven/boot \
share/doc/java/maven share/examples/maven \
share/examples/maven/logging
PKG_SYSCONFSUBDIR= maven
MAKE_DIRS+= ${PKG_SYSCONFDIR}/logging
CONF_FILES= share/examples/maven/m2.conf \
${PKG_SYSCONFDIR}/m2.conf
CONF_FILES+= share/examples/maven/settings.xml \
${PKG_SYSCONFDIR}/settings.xml
CONF_FILES+= share/examples/maven/logging/simplelogger.properties \
${PKG_SYSCONFDIR}/logging/simplelogger.properties
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/mvn ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${DESTDIR}${PREFIX}/share/examples/maven
${INSTALL_DATA} ${WRKSRC}/conf/settings.xml ${DESTDIR}${PREFIX}/share/examples/maven
${INSTALL_DATA} ${WRKSRC}/conf/logging/simplelogger.properties ${DESTDIR}${PREFIX}/share/examples/maven/logging
${INSTALL_DATA} ${WRKSRC}/boot/*.jar ${DESTDIR}${PREFIX}/lib/java/maven/boot
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DESTDIR}${PREFIX}/lib/java/maven
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/java/maven
${INSTALL_DATA} ${WRKSRC}/NOTICE ${DESTDIR}${PREFIX}/share/doc/java/maven
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/java/maven
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"