Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= fossil |
3 |
PORTNAME= fossil |
4 |
PORTVERSION= 2.7 |
4 |
PORTVERSION= 2.8 |
5 |
DISTVERSIONPREFIX= src- |
5 |
DISTVERSIONPREFIX= src- |
6 |
PORTREVISION= 0 |
6 |
PORTREVISION= 0 |
7 |
PORTEPOCH= 2 |
7 |
PORTEPOCH= 2 |
Lines 22-44
CONFIGURE_ARGS= --prefix=${PREFIX}
Link Here
|
22 |
USE_RC_SUBR= fossil |
22 |
USE_RC_SUBR= fossil |
23 |
MAKE_JOBS_UNSAFE=yes |
23 |
MAKE_JOBS_UNSAFE=yes |
24 |
|
24 |
|
25 |
PLIST_FILES= bin/fossil |
25 |
PLIST_FILES= bin/fossil \ |
|
|
26 |
man/man1/fossil.1.gz |
26 |
|
27 |
|
27 |
OPTIONS_DEFINE= JSON FUSE STATIC TH1HOOKS TCL |
28 |
OPTIONS_DEFINE= JSON FUSE STATIC SQLITE TH1HOOKS TCL |
28 |
OPTIONS_DEFAULT=JSON |
29 |
OPTIONS_DEFAULT=JSON |
29 |
JSON_DESC= JSON API support |
30 |
JSON_DESC= JSON API support |
30 |
FUSE_DESC= Enable fossil fusefs command |
31 |
FUSE_DESC= Enable fossil fusefs command |
|
|
32 |
SQLITE_DESC= Enable ports sqlite3 dependency |
31 |
TH1HOOKS_DESC= Enable TH1 command and web page hooks |
33 |
TH1HOOKS_DESC= Enable TH1 command and web page hooks |
32 |
TCL_DESC= Enable Tcl integration |
34 |
TCL_DESC= Enable Tcl integration |
33 |
|
35 |
|
34 |
JSON_CONFIGURE_ON= --json |
36 |
JSON_CONFIGURE_ON= --json |
35 |
STATIC_CONFIGURE_ON= --static |
37 |
STATIC_CONFIGURE_ON= --static |
|
|
38 |
SQLITE_CONFIGURE_ON= --disable-internal-sqlite |
36 |
FUSE_CONFIGURE_OFF= --disable-fusefs |
39 |
FUSE_CONFIGURE_OFF= --disable-fusefs |
37 |
TH1HOOKS_CONFIGURE_ON= --with-th1-hooks |
40 |
TH1HOOKS_CONFIGURE_ON= --with-th1-hooks |
38 |
TCL_CONFIGURE_ON= --with-tcl-stubs --with-tcl=${TCL_LIBDIR} |
41 |
TCL_CONFIGURE_ON= --with-tcl-stubs --with-tcl=${TCL_LIBDIR} |
39 |
TCL_USES= tcl |
42 |
TCL_USES= tcl |
40 |
TCL_CFLAGS= -DTCL_LIBRARY_NAME=\\\"libtcl${TCL_SHLIB_VER}.so\\\" \ |
43 |
TCL_CFLAGS= -DTCL_LIBRARY_NAME=\\\"libtcl${TCL_SHLIB_VER}.so\\\" \ |
41 |
-DTCL_MINOR_OFFSET=7 |
44 |
-DTCL_MINOR_OFFSET=7 |
|
|
45 |
SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 |
46 |
SQLITE_USES= localbase:ldflags |
42 |
FUSE_LIB_DEPENDS= libfuse.so:sysutils/fusefs-libs |
47 |
FUSE_LIB_DEPENDS= libfuse.so:sysutils/fusefs-libs |
43 |
FUSE_USES= localbase:ldflags |
48 |
FUSE_USES= localbase:ldflags |
44 |
|
49 |
|
Lines 47-51
post-patch-FUSE-on:
Link Here
|
47 |
|
52 |
|
48 |
post-install: |
53 |
post-install: |
49 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fossil |
54 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fossil |
|
|
55 |
${INSTALL_MAN} ${WRKSRC}/fossil.1 ${STAGEDIR}${MANPREFIX}/man/man1 |
50 |
|
56 |
|
51 |
.include <bsd.port.mk> |
57 |
.include <bsd.port.mk> |