mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
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)
This commit is contained in:
parent
cd976e5e82
commit
48c1def289
2 changed files with 16 additions and 20 deletions
|
@ -1,6 +1,5 @@
|
|||
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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue