freebsd-ports/www/libmicrohttpd/Makefile
Bartek Rutkowski 7e4349e83b www/libmicrohttpd: add CPE information
- Maintainer's timeout (gaod@hychen.org)

PR:		198832
Submitted by:	Shun <shun.fbsd.pr@dropcut.net>
2015-04-08 14:54:36 +00:00

56 lines
1.3 KiB
Makefile

# Created by: David Barksdale <amatus@gnu.org>
# $FreeBSD$
PORTNAME= libmicrohttpd
PORTVERSION= 0.9.37
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= GNU
MAINTAINER= gaod@hychen.org
COMMENT= C library for embedding HTTP server functionality
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= cpe libtool pathfix
USE_LDCONFIG= yes
USE_OPENSSL= yes
CPE_VENDOR= gnu
OPTIONS_DEFINE= GNUTLS
GNUTLS_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgnutls.so:${PORTSDIR}/security/gnutls
GNUTLS_CONFIGURE_WITH= libgcrypt-prefix=${LOCALBASE} gnutls=${LOCALBASE}
GNUTLS_CONFIGURE_ENABLE=https
INFO= libmicrohttpd libmicrohttpd-tutorial
PLIST_FILES= include/microhttpd.h \
lib/libmicrohttpd.a \
lib/libmicrohttpd.so \
lib/libmicrohttpd.so.10 \
lib/libmicrohttpd.so.10.27.0 \
libdata/pkgconfig/libmicrohttpd.pc \
libdata/pkgconfig/libmicrospdy.pc \
man/man3/libmicrohttpd.3.gz
.include <bsd.port.pre.mk>
.if !(defined(WITH_OPENSSL_BASE) && ${OPSYS} == FreeBSD && ${OSVERSION} < 1000015)
PLIST_FILES+= include/microspdy.h \
lib/libmicrospdy.a \
lib/libmicrospdy.so \
lib/libmicrospdy.so.0 \
lib/libmicrospdy.so.0.0.0
.endif
post-patch:
@${REINPLACE_CMD} -e 's|bin_PROGRAMS =|noinst_PROGRAMS +=|' \
${WRKSRC}/src/examples/Makefile.in
.include <bsd.port.post.mk>