mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
dd48af0ec2
Changes: https://gnunet.org/svn/libmicrohttpd/ChangeLog PR: ports/185184 Submitted by: Hung-Yi Chen <gaod@hychen.org> (maintainer)
41 lines
974 B
Makefile
41 lines
974 B
Makefile
# Created by: David Barksdale <amatus@gnu.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libmicrohttpd
|
|
PORTVERSION= 0.9.33
|
|
CATEGORIES= www
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= gaod@hychen.org
|
|
COMMENT= C library for embedding HTTP server functionality
|
|
|
|
LICENSE= LGPL21
|
|
|
|
OPTIONS_DEFINE= GNUTLS
|
|
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ARGS+= pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
|
USE_LDCONFIG= yes
|
|
|
|
GNUTLS_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
|
|
libgnutls.so:${PORTSDIR}/security/gnutls
|
|
GNUTLS_CONFIGURE_ARGS= --with-gnutls=${LOCALBASE} --enable-https
|
|
|
|
INFO= libmicrohttpd libmicrohttpd-tutorial
|
|
|
|
PLIST_FILES= include/microhttpd.h \
|
|
lib/libmicrohttpd.a \
|
|
lib/libmicrohttpd.la \
|
|
lib/libmicrohttpd.so \
|
|
lib/libmicrohttpd.so.32 \
|
|
libdata/pkgconfig/libmicrohttpd.pc \
|
|
man/man3/libmicrohttpd.3.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-ldl|-lc|' ${WRKSRC}/src/examples/Makefile.in
|
|
|
|
post-build:
|
|
@${STRIP_CMD} ${WRKSRC}/src/microhttpd/.libs/libmicrohttpd.so.32
|
|
|
|
.include <bsd.port.mk>
|