b686dd9180
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.
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2020/01/18 23:33:13 rillig Exp $
|
|
#
|
|
|
|
APOLLOVERS= 1.4
|
|
DISTNAME= apache-apollo-${APOLLOVERS}-unix-distro
|
|
PKGNAME= apollo-${APOLLOVERS}
|
|
PKGREVISION= 1
|
|
CATEGORIES= net java
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=activemq/activemq-apollo/1.4/}
|
|
|
|
MAINTAINER= imil@NetBSD.org
|
|
HOMEPAGE= https://activemq.apache.org/apollo/
|
|
COMMENT= Messaging broker built from the foundations of ActiveMQ
|
|
LICENSE= apache-2.0
|
|
|
|
WRKSRC= ${WRKDIR}/apache-apollo-1.4
|
|
|
|
USE_JAVA= run
|
|
NO_BUILD= yes
|
|
USE_TOOLS+= pax
|
|
|
|
INSTALLATION_DIRS= bin lib/apollo ${EGDIR}
|
|
|
|
PKG_SYSCONFSUBDIR= apollo
|
|
EGDIR= share/examples/apollo
|
|
CONF_FILES= ${PREFIX}/${EGDIR}/jul.properties \
|
|
${PKG_SYSCONFDIR}/jul.properties
|
|
|
|
SUBST_CLASSES+= home
|
|
SUBST_FILES.home= ${WRKSRC}/bin/apollo
|
|
SUBST_SED.home= -e 's,@APOLLO_HOME@,${PREFIX},'
|
|
SUBST_SED.home+= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},'
|
|
SUBST_STAGE.home= pre-configure
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/apollo ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/jul.properties \
|
|
${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
cd ${WRKSRC}/lib && ${PAX} -wr * ${DESTDIR}${PREFIX}/lib/apollo
|
|
${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/lib/apollo/*.jar
|
|
|
|
cd ${WRKSRC}/examples && ${PAX} -wr * ${DESTDIR}${PREFIX}/${EGDIR}
|
|
${FIND} ${DESTDIR}${PREFIX}/${EGDIR} -type f -print | \
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|