mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
c1170a7afb
Use C11 compiler: In file included from src/geoip.c:34: /usr/local/include/maxminddb.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mmdb_uint128_t' /usr/local/include/maxminddb.h:122: error: expected specifier-qualifier-list before 'mmdb_uint128_t' Approved by: mentors (implicit approval)
39 lines
900 B
Makefile
39 lines
900 B
Makefile
# Created by: Dmitriy Limonov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ncdc
|
|
PORTVERSION= 1.22.1
|
|
CATEGORIES= net-p2p
|
|
MASTER_SITES= http://dev.yorhel.nl/download/
|
|
|
|
MAINTAINER= earl1k@mail.ru
|
|
COMMENT= Lightweight direct connect client with ncurses interface
|
|
|
|
LICENSE= MIT
|
|
|
|
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
|
|
|
|
USES= compiler:c11 gmake gnome pkgconfig ncurses:port
|
|
USE_GNOME= glib20
|
|
GNU_CONFIGURE= yes
|
|
PLIST_FILES= bin/ncdc \
|
|
man/man1/ncdc.1.gz
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|