1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

43 lines
1.3 KiB
Makefile

# Created by: Trenton Schulz <trueos@norwegianrockcat.com>
PORTNAME= jotta-cli
PORTVERSION= 0.11.47628
CATEGORIES= net
MASTER_SITES= https://repo.jotta.us/archives/freebsd/${ARCH:S|amd64|amd64|:S|i386|386|}/
DISTNAME= ${PORTNAME}-${PORTVERSION}_freebsd_${ARCH:S|amd64|amd64|:S|i386|386|}
MAINTAINER= trueos@norwegianrockcat.com
COMMENT= Jotta Cloud Daemon and Command-Line Interface
LICENSE= UNKNOWN
LICENSE_NAME= "Jottacloud Terms and Service"
LICENSE_TEXT= "JottaCloud has its own terms and conditions available at https://www.jottacloud.com/en/terms.html"
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
RESTRICTED= yes
ONLY_FOR_ARCHS= amd64 i386
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USE_RC_SUBR= jottad
NO_BUILD= yes
SUB_FILES= pkg-message \
jottad
USERS= jottad
GROUPS= jottad
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/jottad
${INSTALL_SCRIPT} ${WRKDIR}/jottad ${STAGEDIR}${PREFIX}/etc/rc.d/jottad
${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/jotta-cli ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/jottad ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKDIR}/etc/jottad/config.ini ${STAGEDIR}${PREFIX}/etc/jottad/config.ini.sample
post-install:
${MKDIR} ${STAGEDIR}/var/lib/jottad
.include <bsd.port.mk>