aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fossil/Makefile
blob: a739008137b192a48599072662cac36976887744 (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
# $FreeBSD$

PORTNAME=   fossil
PORTVERSION=    1.34
DISTVERSIONPREFIX=  src-
PORTEPOCH=  2
CATEGORIES= devel www
MASTER_SITES=   http://www.fossil-scm.org/download/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    DSCM with built-in wiki, http interface and server, tickets database

LICENSE=    BSD2CLAUSE

PLIST_FILES=    bin/fossil

HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${PREFIX}

USE_OPENSSL=    yes
USE_RC_SUBR=    fossil
MAKE_JOBS_UNSAFE=yes

OPTIONS_DEFINE= JSON FUSE STATIC
OPTIONS_DEFAULT=    JSON
JSON_DESC=  JSON API support
FUSE_DESC=  Enable fossil fusefs command

JSON_CONFIGURE_ON=  --json
STATIC_CONFIGURE_ON=    --static
FUSE_CONFIGURE_OFF= --disable-fusefs
FUSE_LIB_DEPENDS=   libfuse.so:${PORTSDIR}/sysutils/fusefs-libs
FUSE_CFLAGS=        -I${LOCALBASE}/include -L${LOCALBASE}/lib

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fossil

.include <bsd.port.mk>