1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/devel/libmsocket/Makefile
Rodrigo Osorio 877dce2447 Update maintainer email address
Approved by:	bapt@ (co-mentor)
2014-01-29 09:17:41 +00:00

43 lines
967 B
Makefile

# Created by: Matt Harris <mattdharris@users.sourceforge.net>
# $FreeBSD$
PORTNAME= libmsocket
PORTVERSION= 0.4
PORTREVISION= 1
CATEGORIES= devel net
MASTER_SITES= SF/kageki/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= A socket abstraction library for C programmers
LIB_DEPENDS= event:${PORTSDIR}/devel/libevent
USE_BZIP2= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-throttling \
--with-libevent=${LOCALBASE}
PLIST_FILES= lib/libmsocket.so \
lib/libmsocket.so.0.1 \
lib/libmsocket.a \
include/msocket.h \
include/msocketutils.h
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
CFLAGS+= -fPIC -DPIC
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
post-patch:
${REINPLACE_CMD} 's, withval=$$with_libevent; cf_enable_libevent=$$enableval, withval=$$with_libevent; cf_enable_libevent=$$with_libevent,' \
${WRKSRC}/configure
.include <bsd.port.post.mk>