blob: 08a1c521c984baa6194a61963b43cb084450dd85 (
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
44
45
|
# New ports collection makefile for: netembryo
# Date created: 7 November 2007
# Whom: 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
USE_BZIP2= yes
USE_GNOME= glib20 gnomehack
USE_PKGCONFIG= build
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>
|