blob: a2a8467ccc606440fd9be4a8098e3c0b5a8ccbaa (
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
46
|
# New ports collection makefile for: libmicrohttpd
# Date created: 12 February 2008
# Whom: David Barksdale <amatus@gnu.org>
#
# $FreeBSD$
#
PORTNAME= libmicrohttpd
PORTVERSION= 0.9.4
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= GNUTLS "Build with gnutls to support ssl" off
.include <bsd.port.options.mk>
.if ${OSVERSION} < 702000
IGNORE= strdup is not available in this OS release
.endif
.if defined(WITH_GNUTLS)
LIB_DEPENDS= gnutls.40:${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= microhttpd microhttpd-tutorial
PLIST_FILES= lib/libmicrohttpd.so.12 \
lib/libmicrohttpd.la \
lib/libmicrohttpd.so \
lib/libmicrohttpd.a \
libdata/pkgconfig/libmicrohttpd.pc \
include/microhttpd.h
.include <bsd.port.mk>
|