diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2011-01-17 20:05:33 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2011-01-17 20:05:33 +0000 |
commit | 02bceac4bea9759eb94f7eacbdf1ff78de0c6e79 (patch) | |
tree | e4a64fd375223325ab7a56c71b0c1abab12e8bd8 /www | |
parent | Fix MASTER_SITES; add WWW; use NO_PROFILE instead of the deprecrated NOPROFILE; (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=267919
Diffstat (limited to 'www')
-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/ |