diff --git a/net/jotta-cli/Makefile b/net/jotta-cli/Makefile index 9fce17405b1b..ff1bf87471eb 100644 --- a/net/jotta-cli/Makefile +++ b/net/jotta-cli/Makefile @@ -1,41 +1,41 @@ PORTNAME= jotta-cli DISTVERSION= 0.14.60923 +PORTREVISION= 1 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 WWW= https://www.jottacloud.com 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 +RESTRICTED= yes + 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 diff --git a/net/jotta-cli/pkg-plist b/net/jotta-cli/pkg-plist index d1d4447d456d..3bdb89180ea0 100644 --- a/net/jotta-cli/pkg-plist +++ b/net/jotta-cli/pkg-plist @@ -1,8 +1,9 @@ bin/jotta-cli sbin/jottad @dir etc/rc.d @owner jottad @group jottad +@dir etc/jottad @sample(jottad,jottad,644) etc/jottad/config.ini.sample @dir /var/lib/jottad @dir /var/lib