Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2017 15:31:05 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456725 - head/devel/libhid
Message-ID:  <201712191531.vBJFV5W1072383@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Dec 19 15:31:05 2017
New Revision: 456725
URL: https://svnweb.freebsd.org/changeset/ports/456725

Log:
  Convert swig dependency to swig 3.0
  While here, add license

Modified:
  head/devel/libhid/Makefile

Modified: head/devel/libhid/Makefile
==============================================================================
--- head/devel/libhid/Makefile	Tue Dec 19 15:28:09 2017	(r456724)
+++ head/devel/libhid/Makefile	Tue Dec 19 15:31:05 2017	(r456725)
@@ -3,23 +3,30 @@
 
 PORTNAME=	libhid
 PORTVERSION=	0.2.16
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	http://alioth.debian.org/frs/download.php/1958/
 
 MAINTAINER=	ntarmos@cs.uoi.gr
 COMMENT=	User-space HID access library written in C
 
+LICENSE=	GPLv2
+
 BUILD_DEPENDS=	${LOCALBASE}/bin/xsltproc:textproc/libxslt \
 		docbook-xsl>0:textproc/docbook-xsl \
-		${LOCALBASE}/bin/swig1.3:devel/swig13
+		${LOCALBASE}/bin/swig3.0:devel/swig30
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-doxygen --disable-werror
 INSTALL_TARGET=	install-strip
 USES=		gmake libtool pathfix python:2.7
 USE_LDCONFIG=	yes
+BINARY_ALIAS=	swig=swig3.0
 
 EXTRA_PATCHES=	${FILESDIR}/extra-patch-usb
+
+post-patch:
+	@${REINPLACE_CMD} -e "s/required=1\.3/required=3.0/g" \
+		${WRKSRC}/configure
 
 .include <bsd.port.mk>



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