If we need to make an exception we can do it and properly document the reason but by default we should just use the default login class. rc.d uses daemon or the login class provided in login.conf.d so this has no impact there. discussed with sthen@, tb@ and robert@ praying that my grep/sed skills did not break anything and still believing in portbump :-)
41 lines
847 B
Makefile
41 lines
847 B
Makefile
COMMENT= full-text search engine based on Lucene
|
|
|
|
V= 8.11.2
|
|
DISTNAME= solr-$V
|
|
EXTRACT_SUFX= .tgz
|
|
REVISION= 0
|
|
|
|
PKG_ARCH= *
|
|
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= https://lucene.apache.org/solr/
|
|
|
|
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=lucene/solr/$V/}
|
|
|
|
MODULES= java
|
|
MODJAVA_VER= 1.8+
|
|
SUBST_VARS= V
|
|
RUN_DEPENDS= shells/bash \
|
|
java/javaPathHelper
|
|
|
|
NO_TEST= Yes
|
|
NO_BUILD= Yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/solr
|
|
cd ${WRKSRC}; pax -rw * ${PREFIX}/share/solr
|
|
chown -R ${BINOWN}:${BINGRP} $(PREFIX)/share/solr
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/solr ${PREFIX}/share/solr/bin/
|
|
ln -s ../share/solr/bin/solr ${PREFIX}/bin
|
|
cd ${PREFIX}/share/solr/bin; \
|
|
${SUBST_CMD} solr solr.in.sh; \
|
|
rm *${PATCHORIG} *.beforesubst
|
|
|
|
.include <bsd.port.mk>
|