Lines 1-6
Link Here
|
1 |
PORTNAME= ncdc |
1 |
PORTNAME= ncdc |
2 |
PORTVERSION= 1.22.1 |
2 |
DISTVERSION= 1.24.1 |
3 |
PORTREVISION= 4 |
|
|
4 |
CATEGORIES= net-p2p |
3 |
CATEGORIES= net-p2p |
5 |
MASTER_SITES= http://dev.yorhel.nl/download/ |
4 |
MASTER_SITES= http://dev.yorhel.nl/download/ |
6 |
|
5 |
|
Lines 9-39
COMMENT= Lightweight direct connect client with ncurses interface
Link Here
|
9 |
WWW= https://dev.yorhel.nl/ncdc |
8 |
WWW= https://dev.yorhel.nl/ncdc |
10 |
|
9 |
|
11 |
LICENSE= MIT |
10 |
LICENSE= MIT |
|
|
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
|
12 |
|
13 |
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ |
13 |
LIB_DEPENDS= libgnutls.so:security/gnutls |
14 |
libpcre.so:devel/pcre \ |
|
|
15 |
libgmp.so:math/gmp \ |
16 |
libgnutls.so:security/gnutls \ |
17 |
libgcrypt.so:security/libgcrypt \ |
18 |
libnettle.so:security/nettle \ |
19 |
libp11-kit.so:security/p11-kit |
20 |
|
14 |
|
21 |
USES= compiler:c11 gmake gnome pkgconfig ncurses |
15 |
USES= compiler:c11 gnome localbase:ldflags ncurses pkgconfig sqlite |
22 |
USE_GNOME= glib20 |
16 |
USE_GNOME= glib20 |
|
|
17 |
|
23 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share |
19 |
|
25 |
PLIST_FILES= bin/ncdc \ |
20 |
PLIST_FILES= bin/ncdc \ |
26 |
share/man/man1/ncdc.1.gz |
21 |
share/man/man1/ncdc.1.gz |
27 |
|
22 |
|
28 |
CONFIGURE_ENV= NCURSES_CFLAGS="-L${NCURSESLIB}" NCURSES_LIBS="-lncursesw" |
|
|
29 |
CFLAGS+= -I${LOCALBASE}/include |
30 |
LDFLAGS+= -L${LOCALBASE}/lib |
31 |
|
32 |
OPTIONS_DEFINE= GEOIP |
23 |
OPTIONS_DEFINE= GEOIP |
33 |
OPTIONS_DEFAULT= GEOIP |
24 |
OPTIONS_DEFAULT= GEOIP |
34 |
|
25 |
|
35 |
GEOIP_CONFIGURE_WITH= geoip |
|
|
36 |
GEOIP_CONFIGURE_ENV= GEOIP_LIBS="-L${LOCALBASE}/lib -lmaxminddb" |
37 |
GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb |
26 |
GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb |
|
|
27 |
GEOIP_CONFIGURE_WITH= geoip |
28 |
|
29 |
.include <bsd.port.options.mk> |
30 |
|
31 |
.if ${OPSYS}_${OSREL:R} == FreeBSD_13 |
32 |
CONFIGURE_ENV= NCURSES_CFLAGS="-L${NCURSESLIB}" NCURSES_LIBS="-lncursesw" |
33 |
.endif |
38 |
|
34 |
|
39 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |