1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net-p2p/ncdc/Makefile

40 lines
1.0 KiB
Makefile
Raw Normal View History

# Created by: Dmitriy Limonov
# $FreeBSD$
PORTNAME= ncdc
PORTVERSION= 1.19
CATEGORIES= net-p2p
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
http://dev.yorhel.nl/download/
MAINTAINER= earl1k@mail.ru
COMMENT= Lightweight direct connect client with ncurses interface
LICENSE= MIT
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
libpcre.so:${PORTSDIR}/devel/pcre \
libgmp.so:${PORTSDIR}/math/gmp \
libgnutls.so:${PORTSDIR}/security/gnutls \
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libnettle.so:${PORTSDIR}/security/nettle \
libp11-kit.so:${PORTSDIR}/security/p11-kit
USES= gmake pkgconfig ncurses
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
GEOIP_CONFIGURE_WITH= geoip
GEOIP_CONFIGURE_ENV= GEOIP_CFLAGS="-I${LOCALBASE}/include" \
GEOIP_LIBS="-L${LOCALBASE}/lib -lGeoIP"
GEOIP_LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP
.include <bsd.port.mk>