Skip to content
Snippets Groups Projects
Commit 48c1def2 authored by Daniel Engberg's avatar Daniel Engberg
Browse files

net-p2p/ncdc: Update to 1.24.1

* Rework and adjust list of library dependencies
* Remove gmake dependency
* Use sqlite helper
* Remove CONFIGURE_ENV entries (unnecessary except for ncurses on FreeBSD 13)

Previous iteration of patch submitted by Älven <alster@vinterdalen.se>

PR:		282657
Approved by:	portmgr (maintainer timeout, 1+ month)
parent cd976e5e
No related branches found
No related tags found
No related merge requests found
PORTNAME= ncdc
PORTVERSION= 1.22.1
PORTREVISION= 4
DISTVERSION= 1.24.1
CATEGORIES= net-p2p
MASTER_SITES= http://dev.yorhel.nl/download/
......@@ -9,31 +8,28 @@ 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 <bsd.port.options.mk>
.if ${OPSYS}_${OSREL:R} == FreeBSD_13
CONFIGURE_ENV= NCURSES_CFLAGS="-L${NCURSESLIB}" NCURSES_LIBS="-lncursesw"
.endif
.include <bsd.port.mk>
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment