- Update to 0.9.31

- Bump PORTREVISION for www/libmicrohttpd shlib change
- While I'm here:
  - Use GNU micro
  - Convert to new LIB_DEPENDS format
  - Convert to new options helper
  - Strip shared library
  - Sort PLIST
  - Support STAGEDIR

PR:		ports/184199
Submitted by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-23 18:41:39 +00:00
parent 3cdffc0e2d
commit dacd35c759
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334693
4 changed files with 18 additions and 21 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= gmpc-mserver
PORTVERSION= 0.20.0
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ \
http://freebsd.unixfreunde.de/sources/

View file

@ -2,7 +2,7 @@
PORTNAME= xbmc
DISTVERSION= 12.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://mirrors.xbmc.org/releases/source/

View file

@ -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>

View file

@ -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