1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net/libzmq4/Makefile
Kubilay Kocak 29198815a8 net/libzmq4: Update to 4.1.5, Add MANPAGES option
- Update PORTVERSION and distinfo checksum (4.1.5)
- Update pkg-plist accordingly (library minor version bump)
- Update MASTER_SITES (upstream moved to GitHub releases)
- Add MANPAGES option and dependencies (xmlto/asciidoc (sorry!) as they
  now need to be built. Add OPTIONS_SUB and update pkg-plist accordingly
- Re-patch configure after minor updates since 4.1.4
- Sort pkg-plist

PR:		211306 (part two of two)
Submitted by:	Eric Camachat <eric camachat org>
2016-08-11 12:15:20 +00:00

55 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= libzmq4
PORTVERSION= 4.1.5
CATEGORIES= net
MASTER_SITES= https://github.com/zeromq/zeromq4-1/releases/download/v${DISTVERSION}/
DISTNAME= zeromq-${DISTVERSION}
MAINTAINER= koobs@FreeBSD.org
COMMENT= ZeroMQ core library (Version 4)
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= zmq-[0-9]* libzmq[^4]-[0-9]*
USES= libtool pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
OPTIONS_DEFINE= CURVE DEBUG NORM MANPAGES PGM
OPTIONS_DEFAULT= CURVE MANPAGES NORM PGM
OPTIONS_SUB= yes
CURVE_DESC= CURVE security mechanism via libsodium
PGM_DESC= Reliable multicast transport using PGM via OpenPGM
NORM_DESC= Reliable multicast transport using NORM via NRL
CURVE_CONFIGURE_WITH= libsodium
CURVE_LIB_DEPENDS= libsodium.so:security/libsodium
DEBUG_CONFIGURE_ENABLE= debug
DEBUG_VARS= WITH_DEBUG=yes
PGM_CONFIGURE_WITH= pgm
PGM_LIB_DEPENDS= libpgm.so:net/openpgm
MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto \
asciidoc:textproc/asciidoc
MANPAGES_CONFIGURE_WITH= documentation
NORM_CONFIGURE_WITH= norm=${PREFIX}
NORM_LIB_DEPENDS= libnorm.so:net/norm
CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
CFLAGS+= -Wno-long-long
CPPFLAGS+= -Wno-error
MAKE_ENV= V=1
INSTALL_TARGET= install-strip
TEST_TARGET= check
.include <bsd.port.mk>