diff options
author | ohauer <ohauer@FreeBSD.org> | 2011-01-18 04:05:33 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2011-01-18 04:05:33 +0800 |
commit | 0a00476afef631ae47462476d676a919c3f18d00 (patch) | |
tree | a09aaff2ad1ece53ba198384c64d76f90f02768e /www/libmicrohttpd | |
parent | 25641997d11dc763186b761e435dc68744a945db (diff) | |
download | freebsd-ports-gnome-0a00476afef631ae47462476d676a919c3f18d00.tar.gz freebsd-ports-gnome-0a00476afef631ae47462476d676a919c3f18d00.tar.zst freebsd-ports-gnome-0a00476afef631ae47462476d676a919c3f18d00.zip |
- add option to build with gnutls (ssl support)
- remove patchfile
- change URI in pkg-descr
- bump PORTREVISION
PR: ports/153489
Submitted by: Pietro Cerutti <gahr _at_ FreeBSD.org>
Approved by: Hung-Yi Chen <gaod _at_ hychen.org> (maintainer) per mail
Feature safe: yes
Diffstat (limited to 'www/libmicrohttpd')
-rw-r--r-- | www/libmicrohttpd/Makefile | 12 | ||||
-rw-r--r-- | www/libmicrohttpd/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | www/libmicrohttpd/pkg-descr | 2 |
3 files changed, 12 insertions, 13 deletions
diff --git a/www/libmicrohttpd/Makefile b/www/libmicrohttpd/Makefile index 8ebe878ba05d..8a229dc26818 100644 --- a/www/libmicrohttpd/Makefile +++ b/www/libmicrohttpd/Makefile @@ -7,14 +7,24 @@ PORTNAME= libmicrohttpd PORTVERSION= 0.9.4 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_GNU} -MASTER_SITE_SUBDIR= libmicrohttpd +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 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 diff --git a/www/libmicrohttpd/files/patch-Makefile.in b/www/libmicrohttpd/files/patch-Makefile.in deleted file mode 100644 index ded9d945308a..000000000000 --- a/www/libmicrohttpd/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2009-08-15 14:59:45.000000000 -0300 -+++ Makefile.in 2009-08-15 15:00:14.000000000 -0300 -@@ -217,7 +217,7 @@ - ACLOCAL_AMFLAGS = -I m4 - SUBDIRS = contrib src doc m4 . - EXTRA_DIST = acinclude.m4 libmicrohttpd.pc.in --pkgconfigdir = $(libdir)/pkgconfig -+pkgconfigdir = /usr/local/libdata/pkgconfig - pkgconfig_DATA = libmicrohttpd.pc - all: MHD_config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/www/libmicrohttpd/pkg-descr b/www/libmicrohttpd/pkg-descr index 1a8a32a46403..63f38717fa30 100644 --- a/www/libmicrohttpd/pkg-descr +++ b/www/libmicrohttpd/pkg-descr @@ -3,4 +3,4 @@ into other applications. It is reentrant, fast, supports HTTP 1.1, and permits listening on multiple ports. The API is simple and still powerful enough to allow programmers to use the entire HTTP feature set. -WWW: http://gnunet.org/libmicrohttpd/ +WWW: http://www.gnu.org/software/libmicrohttpd/ |