09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
55 lines
1 KiB
Makefile
55 lines
1 KiB
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= taskd
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 6
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= http://taskwarrior.org/download/
|
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
|
COMMENT= Multi-user server for taskwarrior
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
RUN_DEPENDS= bash:shells/bash
|
|
|
|
USES= cmake:outsource compiler:c++11-lib shebangfix
|
|
USE_RC_SUBR= taskd
|
|
|
|
USERS= taskd
|
|
GROUPS= taskd
|
|
|
|
TASKD_DBDIR?= /var/db/${PORTNAME}
|
|
|
|
PLIST_SUB+= TASKD_DBDIR="${TASKD_DBDIR}" \
|
|
TASKD_USER="${USERS}" \
|
|
TASKD_GROUP="${GROUPS}"
|
|
|
|
SUB_LIST+= TASKD_DBDIR="${TASKD_DBDIR}"
|
|
|
|
SHEBANG_FILES= demo/client/case* \
|
|
demo/client/malformed* \
|
|
demo/client/run \
|
|
demo/client/setup \
|
|
demo/server/run \
|
|
demo/server/setup \
|
|
mon/create \
|
|
scripts/setup_server.bash \
|
|
src/taskdctl \
|
|
pki/generate \
|
|
pki/generate.ca \
|
|
pki/generate.client \
|
|
pki/generate.crl \
|
|
pki/generate.server
|
|
|
|
CFLAGS+= -g -O0
|
|
|
|
PORTDOCS= *
|
|
|
|
post-install:
|
|
(cd ${WRKSRC}/pki && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
${MKDIR} ${STAGEDIR}${TASKD_DBDIR}
|
|
|
|
.include <bsd.port.mk>
|