1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/www/libmicrohttpd/Makefile
2013-05-03 16:36:39 +00:00

41 lines
906 B
Makefile

# Created by: David Barksdale <amatus@gnu.org>
# $FreeBSD$
PORTNAME= libmicrohttpd
PORTVERSION= 0.9.26
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gaod@hychen.org
COMMENT= C library for embedding HTTP server functionality
LICENSE= LGPL21
OPTIONS_DEFINE= GNUTLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNUTLS}
LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt \
gnutls:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=--with-gnutls=${LOCALBASE} --enable-https
.endif
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAKE_ARGS+= pkgconfigdir=${PREFIX}/libdata/pkgconfig
MAN3= libmicrohttpd.3
INFO= libmicrohttpd libmicrohttpd-tutorial
PLIST_FILES= lib/libmicrohttpd.so.26 \
lib/libmicrohttpd.la \
lib/libmicrohttpd.so \
lib/libmicrohttpd.a \
libdata/pkgconfig/libmicrohttpd.pc \
include/microhttpd.h
.include <bsd.port.mk>