openbsd-ports/geo/traccar/Makefile
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
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 :-)
2022-11-08 11:14:43 +00:00

38 lines
833 B
Makefile

COMMENT = modern GPS tracking platform
V = 5.4
PKGNAME = traccar-${V}
DISTNAME = traccar-other-${V}
EXTRACT_SUFX = .zip
REVISION = 0
CATEGORIES = geo
HOMEPAGE = https://www.traccar.org/
MAINTAINER = Renaud Allard <renaud@allard.it>
# MPL 2.0
PERMIT_PACKAGE = Yes
MASTER_SITES = https://github.com/traccar/traccar/releases/download/v${V}/
MODULES = java
MODJAVA_VER = 11+
RUN_DEPENDS = java/javaPathHelper
EXTRACT_CASES += traccar*.zip) \
${UNZIP} -oq ${FULLDISTDIR}/$$archive -d ${WRKDIST};;
NO_BUILD = Yes
NO_TEST = Yes
do-configure:
${SUBST_CMD} ${WRKSRC}/conf/{default,traccar}.xml
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/traccar/
cp -r ${WRKSRC}/* ${PREFIX}/share/traccar/
rm ${PREFIX}/share/traccar/conf/{default,traccar}.xml.*
.include <bsd.port.mk>