aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/taskd/Makefile
blob: 8697530af8a821bc022cf047af968226d3097169 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Created by: gahr
# $FreeBSD$

PORTNAME=   taskd
PORTVERSION=    1.1.0
PORTREVISION=   1
CATEGORIES= deskutils
MASTER_SITES=   http://taskwarrior.org/download/

MAINTAINER= skreuzer@FreeBSD.org
COMMENT=    Multi-user server for taskwarrior

LICENSE=    MIT

LIB_DEPENDS=    libgnutls.so:${PORTSDIR}/security/gnutls
RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash

USES=       cmake:outsource compiler:c++11-lib shebangfix
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

PLIST_FILES=    bin/taskd \
        bin/taskdctl \
        man/man1/taskd.1.gz \
        man/man1/taskdctl.1.gz \
        man/man5/taskdrc.5.gz \
        share/taskd/README \
        share/taskd/generate \
        share/taskd/generate.ca \
        share/taskd/generate.client \
        share/taskd/generate.crl \
        share/taskd/generate.server \
        share/taskd/vars

PORTDOCS=   *

post-install:
    (cd ${WRKSRC}/pki && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
.for s in generate generate.ca generate.client generate.crl generate.server
    ${CHMOD} 755 ${STAGEDIR}${DATADIR}/${s}
.endfor

.include <bsd.port.mk>