forked from Lainports/freebsd-ports
40 lines
795 B
Makefile
40 lines
795 B
Makefile
# New ports collection makefile for: libmsocket
|
|
# Date created: 2008-10-14
|
|
# Whom: Matt Harris <mattdharris@users.sourceforge.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libmsocket
|
|
PORTVERSION= 0.4
|
|
CATEGORIES= devel net
|
|
MASTER_SITES= SF/kageki
|
|
|
|
MAINTAINER= ports@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
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} != "i386"
|
|
CFLAGS+= -fPIC -DPIC
|
|
.endif
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|