freebsd-ports/databases/tile38/Makefile
Kirill Ponomarev 66ee55d678 Update to version 1.12.0
PR:		227486
Submitted by:	maintainer
2018-04-13 09:41:17 +00:00

51 lines
1.1 KiB
Makefile

# Created by: olevole@olevole.ru
# $FreeBSD$
PORTNAME= tile38
DISTVERSION= 1.12.0
CATEGORIES= databases
MAINTAINER= a.andersson.thn@gmail.com
COMMENT= In-memory geolocation data store, spatial index, and realtime geofence
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go>=1.7:lang/go \
bash:shells/bash
USES= shebangfix
SHEBANG_FILES= build.sh
USE_GITHUB= yes
GH_ACCOUNT= tidwall
USE_RC_SUBR= tile38
SSP_UNSAFE= yes
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
TILE38_DBDIR= /var/db/tile38
TILE38_RUNDIR= /var/run/tile38
SUB_LIST= PORTNAME=${PORTNAME} \
TILE38_USER=${USERS} \
TILE38_DBDIR=${TILE38_DBDIR} \
TILE38_RUNDIR=${TILE38_RUNDIR}
PLIST_SUB= TILE38_USER=${USERS} \
TILE38_GROUP=${GROUPS} \
TILE38_DBDIR=${TILE38_DBDIR} \
TILE38_RUNDIR=${TILE38_RUNDIR}
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build.sh
do-install:
@${MKDIR} ${STAGEDIR}${TILE38_DBDIR} ${STAGEDIR}${TILE38_RUNDIR}
${INSTALL_PROGRAM} ${WRKSRC}/tile38-cli ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/tile38-server ${STAGEDIR}${PREFIX}/bin/
do-test:
@cd ${WRKSRC} && ./build.sh test
.include <bsd.port.mk>