df85f305f6
* build: export USE_TLS and USE_DTLS flags in re.mk makefile detect sysctl.h and epoll.h for multi-arch platforms dont use libresolv for openbsd * main: check that maxfds is less than FD_SETSIZE (for select method) * dtls: added udp-socket accessor and function to set handlers * stun: added support for DTLS-transport added doxygen comments * tls: added function to set certificate from a string * turn: added support for DTLS-transport
33 lines
865 B
Makefile
33 lines
865 B
Makefile
# $NetBSD: Makefile,v 1.8 2015/03/15 14:37:03 othyro Exp $
|
|
|
|
DISTNAME= re-0.4.11
|
|
PKGNAME= lib${DISTNAME}
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.creytiv.com/pub/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.creytiv.com/re.html
|
|
COMMENT= Portable library for real-time communications with async IO support
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
NO_CONFIGURE= yes
|
|
|
|
SUBST_CLASSES+= prefix
|
|
SUBST_FILES.prefix= Makefile
|
|
SUBST_MESSAGE.prefix= Fixing PREFIX path.
|
|
SUBST_SED.prefix= -e "s|/usr/local|${PREFIX}|1"
|
|
SUBST_SED.prefix+= -e "s|/usr|${PREFIX}|1"
|
|
SUBST_STAGE.prefix= post-patch
|
|
|
|
SUBST_CLASSES+= re
|
|
SUBST_FILES.re= mk/re.mk
|
|
SUBST_MESSAGE.re= Fixing PREFIX path.
|
|
SUBST_SED.re= -e "s|/usr/local|${PREFIX}|g"
|
|
SUBST_STAGE.re= post-patch
|
|
|
|
post-install:
|
|
${CHMOD} -x ${DESTDIR}${PREFIX}/lib/libre.a
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|