diff --git a/net-p2p/ncdc/Makefile b/net-p2p/ncdc/Makefile index 25b71f47b565..2c4aa0782dba 100644 --- a/net-p2p/ncdc/Makefile +++ b/net-p2p/ncdc/Makefile @@ -1,39 +1,35 @@ PORTNAME= ncdc -PORTVERSION= 1.22.1 -PORTREVISION= 4 +DISTVERSION= 1.24.1 CATEGORIES= net-p2p MASTER_SITES= http://dev.yorhel.nl/download/ MAINTAINER= earl1k@mail.ru COMMENT= Lightweight direct connect client with ncurses interface WWW= https://dev.yorhel.nl/ncdc LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ - libpcre.so:devel/pcre \ - libgmp.so:math/gmp \ - libgnutls.so:security/gnutls \ - libgcrypt.so:security/libgcrypt \ - libnettle.so:security/nettle \ - libp11-kit.so:security/p11-kit +LIB_DEPENDS= libgnutls.so:security/gnutls -USES= compiler:c11 gmake gnome pkgconfig ncurses +USES= compiler:c11 gnome localbase:ldflags ncurses pkgconfig sqlite USE_GNOME= glib20 + GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share + PLIST_FILES= bin/ncdc \ share/man/man1/ncdc.1.gz -CONFIGURE_ENV= NCURSES_CFLAGS="-L${NCURSESLIB}" NCURSES_LIBS="-lncursesw" -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - OPTIONS_DEFINE= GEOIP OPTIONS_DEFAULT= GEOIP -GEOIP_CONFIGURE_WITH= geoip -GEOIP_CONFIGURE_ENV= GEOIP_LIBS="-L${LOCALBASE}/lib -lmaxminddb" GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb +GEOIP_CONFIGURE_WITH= geoip + +.include + +.if ${OPSYS}_${OSREL:R} == FreeBSD_13 +CONFIGURE_ENV= NCURSES_CFLAGS="-L${NCURSESLIB}" NCURSES_LIBS="-lncursesw" +.endif .include diff --git a/net-p2p/ncdc/distinfo b/net-p2p/ncdc/distinfo index e6ce516a8d40..86a51002888b 100644 --- a/net-p2p/ncdc/distinfo +++ b/net-p2p/ncdc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1564822079 -SHA256 (ncdc-1.22.1.tar.gz) = d15fd378aa345f423e59a38691c668f69b516cd4b8afbbcdc446007740c3afad -SIZE (ncdc-1.22.1.tar.gz) = 371572 +TIMESTAMP = 1731190108 +SHA256 (ncdc-1.24.1.tar.gz) = 2a8ab9ad7d43f018fc73ba8babd689dfa44aba8cec53b88e4770185cb97778f7 +SIZE (ncdc-1.24.1.tar.gz) = 377704