blob: 322832456978e8d2f1d6872889827b04f8dde5d8 (
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
41
42
43
|
# Created by: Emmanuel Richiardone (err@tollari.org)
# $FreeBSD$
PORTNAME= netembryo
PORTVERSION= 0.1.1
CATEGORIES= net
MASTER_SITES= http://lscube.org/files/downloads/netembryo/
MAINTAINER= ports@FreeBSD.org
COMMENT= Network abstraction library used by for feng, libnemesi, felix
LICENSE= LGPL21
OPTIONS_DEFINE= OPENSSL
OPTIONS_DEFAULT=OPENSSL
BROKEN= Does not fetch
USE_BZIP2= yes
USES= pathfix pkgconfig
USE_GNOME= glib20
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --disable-silent-rules
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL}
USE_OPENSSL= yes
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB}"
.else
CONFIGURE_ARGS+=--without-openssl
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|^CPPFLAGS=|#CPPFLAGS| ; \
s|freebsd[0-9]|freebsd|' ${WRKSRC}/configure
.include <bsd.port.mk>
|