blob: 503f2c8b66abd3a2dc95517de002e28d371e340c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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= mattdharris@users.sourceforge.net
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>
|