Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2014 17:32:31 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339942 - in head/devel/gsoap: . files
Message-ID:  <201401161732.s0GHWVjP012487@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Jan 16 17:32:30 2014
New Revision: 339942
URL: http://svnweb.freebsd.org/changeset/ports/339942
QAT: https://qat.redports.org/buildarchive/r339942/

Log:
  - Update to 2.8.17.
  - Add LICENSE, support staging, and convert LIB_DEPENDS to new format.
  - Remove archivers/unzip dependency.
  - Remove devel/gmake dependency.  bmake works fine now.
  - Remove ONLY_FOR_ARCHS.  I believe it is no longer true.
  - Do not add "-fPIC" to CFLAGS for amd64.
  - Prefer CPPFLAGS over CFLAGS.
  - Consistently use (b)yacc from base.  When devel/bison is installed,
  the configure script automatically uses it instead of yacc from base.
  - Use OPTIONS_RADIO instead of OPTIONS_DEFINE for SSL selection to
  avoid user confusion, i. e., selecting both GNUTLS and OpenSSL should
  not be allowed.
  - Create a symbolic link instead of a hard link for stdsoap2.cpp.

Deleted:
  head/devel/gsoap/files/
Modified:
  head/devel/gsoap/Makefile
  head/devel/gsoap/distinfo

Modified: head/devel/gsoap/Makefile
==============================================================================
--- head/devel/gsoap/Makefile	Thu Jan 16 17:21:49 2014	(r339941)
+++ head/devel/gsoap/Makefile	Thu Jan 16 17:32:30 2014	(r339942)
@@ -2,58 +2,50 @@
 # $FreeBSD$
 
 PORTNAME=	gsoap
-PORTVERSION=	2.8.10
-PORTREVISION=	2
+PORTVERSION=	2.8.17
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}2/gSOAP
 DISTNAME=	${PORTNAME}_${PORTVERSION}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Generator Tools for Coding SOAP/XML Web Services in C and C++
 
-OPTIONS_DEFINE=	OPENSSL GNUTLS
-OPTIONS_DEFAULT=	OPENSSL
+LICENSE=	GPLv2
 
-USE_ZIP=	yes
+CONFIGURE_ENV=	LEX=flex YACC=yacc
+CPPFLAGS+=	-DWSDL_TYPEMAP_FILE=\\\"${DATADIR}/WS/typemap.dat\\\" \
+		-DSOAPCPP2_IMPORT_PATH=\\\"${DATADIR}/import\\\"
 GNU_CONFIGURE=	yes
-USES=	pathfix
 MAKE_JOBS_UNSAFE=	yes
-CFLAGS+=	-DWSDL_TYPEMAP_FILE=\\\"${DATADIR}/WS/typemap.dat\\\" \
-		-DSOAPCPP2_IMPORT_PATH=\\\"${DATADIR}/import\\\"
-
-.if defined(.PARSEDIR)
-USE_GMAKE=	yes
-.endif
-
+USES=		pathfix
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
 
-ONLY_FOR_ARCHS=	i386 amd64
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-CFLAGS+=	-fPIC
-.endif
+OPTIONS_RADIO=	SSL
+OPTIONS_RADIO_SSL=	GNUTLS OPENSSL
+OPTIONS_DEFAULT=	OPENSSL
 
-.if ! ${PORT_OPTIONS:MOPENSSL} && ! ${PORT_OPTIONS:MGNUTLS}
-CONFIGURE_ARGS+=--disable-ssl
-.endif
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MGNUTLS}
-LIB_DEPENDS+=	gnutls.47:${PORTSDIR}/security/gnutls \
-   		gcrypt:${PORTSDIR}/security/libgcrypt \
-		gpg-error.0:${PORTSDIR}/security/libgpg-error
-CONFIGURE_ARGS+=--enable-gnutls
+LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls \
+   		libgcrypt.so:${PORTSDIR}/security/libgcrypt \
+		libgpg-error.so:${PORTSDIR}/security/libgpg-error
+CONFIGURE_ARGS=	--enable-gnutls
 LDFLAGS+=	-L${LOCALBASE}/lib
+.elif ${PORT_OPTIONS:MOPENSSL}
+CONFIGURE_ARGS=	--enable-ssl
+.else
+CONFIGURE_ARGS=	--disable-ssl
 .endif
 
 post-patch:
-	${REINPLACE_CMD} -e 's|sys/timeb.h||' ${WRKSRC}/${CONFIGURE_SCRIPT}
+	${REINPLACE_CMD} -e 's| sys/timeb.h | |' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
 post-install:
-	@${MKDIR} ${PREFIX}/lib/gsoap
-	@${CP} ${WRKSRC}/gsoap/stdsoap2.c ${PREFIX}/lib/gsoap
-	@${LN} -f ${PREFIX}/lib/gsoap/stdsoap2.c ${PREFIX}/lib/gsoap/stdsoap2.cpp
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gsoap
+	@${INSTALL_DATA} ${WRKSRC}/gsoap/stdsoap2.c \
+	    ${STAGEDIR}${PREFIX}/lib/gsoap
+	@${LN} -fs stdsoap2.c ${STAGEDIR}${PREFIX}/lib/gsoap/stdsoap2.cpp
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/gsoap/distinfo
==============================================================================
--- head/devel/gsoap/distinfo	Thu Jan 16 17:21:49 2014	(r339941)
+++ head/devel/gsoap/distinfo	Thu Jan 16 17:32:30 2014	(r339942)
@@ -1,2 +1,2 @@
-SHA256 (gsoap_2.8.10.zip) = fddfd59ba9b0236daa59d1ced9149cb827d446e0a24b85395ed23c10858cabfb
-SIZE (gsoap_2.8.10.zip) = 19156778
+SHA256 (gsoap_2.8.17.zip) = 30a53785708c842694227753badda17010cac64efd43f7a4f2b0e8de3de68f28
+SIZE (gsoap_2.8.17.zip) = 20695905



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401161732.s0GHWVjP012487>