2013-03-28 04:28:30 +01:00
|
|
|
# Created by: Emmanuel Richiardone (err@tollari.org)
|
2007-12-18 02:53:16 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= netembryo
|
2012-11-22 20:45:34 +01:00
|
|
|
PORTVERSION= 0.1.1
|
2014-07-10 11:51:56 +02:00
|
|
|
PORTREVISION= 1
|
2007-12-18 02:53:16 +01:00
|
|
|
CATEGORIES= net
|
2013-05-19 00:43:54 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
|
|
http://pkgs.fedoraproject.org/repo/pkgs/netembryo/netembryo-0.1.1.tar.bz2/d5a3c96b37fe3e4fb1c49df1f7a4a16f/ \
|
|
|
|
http://lscube.org/files/downloads/netembryo/
|
|
|
|
MASTER_SITE_SUBDIR= rakuco
|
2007-12-18 02:53:16 +01:00
|
|
|
|
2011-06-10 15:23:23 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-10 11:51:56 +02:00
|
|
|
COMMENT= Network abstraction library
|
2007-12-18 02:53:16 +01:00
|
|
|
|
2011-09-07 02:53:46 +02:00
|
|
|
LICENSE= LGPL21
|
2011-09-02 02:34:00 +02:00
|
|
|
|
2012-11-22 20:45:34 +01:00
|
|
|
OPTIONS_DEFINE= OPENSSL
|
|
|
|
OPTIONS_DEFAULT=OPENSSL
|
|
|
|
|
2014-07-10 11:51:56 +02:00
|
|
|
USES= gmake libtool pathfix pkgconfig tar:bzip2
|
2013-03-28 18:56:37 +01:00
|
|
|
USE_GNOME= glib20
|
2007-12-18 02:53:16 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-07-10 11:51:56 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-silent-rules
|
|
|
|
INSTALL_TARGET= install-strip
|
2012-11-22 20:45:34 +01:00
|
|
|
|
|
|
|
.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:
|
2014-07-10 11:51:56 +02:00
|
|
|
@${REINPLACE_CMD} '/_XOPEN_SOURCE/d' ${WRKSRC}/configure
|
2007-12-18 02:53:16 +01:00
|
|
|
|
2011-11-01 21:46:07 +01:00
|
|
|
.include <bsd.port.mk>
|