aboutsummaryrefslogtreecommitdiff
path: root/www/libmicrohttpd
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-23 18:41:39 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-23 18:41:39 +0000
commitdacd35c759ae64348cd18f0579a1f57dbf089c9e (patch)
tree6503c1f58830e0876633952fa154961aee742302 /www/libmicrohttpd
parent3cdffc0e2db9e174ff298f5971c9e0deead7c666 (diff)
downloadports-dacd35c759ae64348cd18f0579a1f57dbf089c9e.tar.gz
ports-dacd35c759ae64348cd18f0579a1f57dbf089c9e.zip
Notes
Diffstat (limited to 'www/libmicrohttpd')
-rw-r--r--www/libmicrohttpd/Makefile31
-rw-r--r--www/libmicrohttpd/distinfo4
2 files changed, 16 insertions, 19 deletions
diff --git a/www/libmicrohttpd/Makefile b/www/libmicrohttpd/Makefile
index a1a4122f0af6..f7d1249f4e62 100644
--- a/www/libmicrohttpd/Makefile
+++ b/www/libmicrohttpd/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= libmicrohttpd
-PORTVERSION= 0.9.27
+PORTVERSION= 0.9.31
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= gaod@hychen.org
COMMENT= C library for embedding HTTP server functionality
@@ -14,27 +13,25 @@ LICENSE= LGPL21
OPTIONS_DEFINE= GNUTLS
-NO_STAGE= yes
-.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
+USE_LDCONFIG= yes
+
+GNUTLS_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
+ libgnutls.so:${PORTSDIR}/security/gnutls
+GNUTLS_CONFIGURE_ARGS= --with-gnutls=${LOCALBASE} --enable-https
-MAN3= libmicrohttpd.3
INFO= libmicrohttpd libmicrohttpd-tutorial
-PLIST_FILES= lib/libmicrohttpd.so.27 \
+PLIST_FILES= include/microhttpd.h \
+ lib/libmicrohttpd.a \
lib/libmicrohttpd.la \
lib/libmicrohttpd.so \
- lib/libmicrohttpd.a \
+ lib/libmicrohttpd.so.30 \
libdata/pkgconfig/libmicrohttpd.pc \
- include/microhttpd.h
+ man/man3/libmicrohttpd.3.gz
+
+post-build:
+ @${STRIP_CMD} ${WRKSRC}/src/microhttpd/.libs/libmicrohttpd.so.30
.include <bsd.port.mk>
diff --git a/www/libmicrohttpd/distinfo b/www/libmicrohttpd/distinfo
index 7a907ab93610..48ea5083f201 100644
--- a/www/libmicrohttpd/distinfo
+++ b/www/libmicrohttpd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libmicrohttpd-0.9.27.tar.gz) = d532edf64c3a9da472114c2d10fc94606e3b31f21b883ec2e796ab8478f7e9cb
-SIZE (libmicrohttpd-0.9.27.tar.gz) = 879531
+SHA256 (libmicrohttpd-0.9.31.tar.gz) = cac177d1081ae23e97713972499c24e13a0fa13d112a30132a249d4055ec5d1b
+SIZE (libmicrohttpd-0.9.31.tar.gz) = 1118373