aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libhid
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2017-12-19 23:31:05 +0800
committerbapt <bapt@FreeBSD.org>2017-12-19 23:31:05 +0800
commit44013b44edece6600a225f7dcc24a39e5a2e3ad7 (patch)
treee0cd330d7f5039baa5d8753e4f220e9c74c81879 /devel/libhid
parent17face01df26eea24d940f2ef72f1be08c35fe66 (diff)
downloadfreebsd-ports-gnome-44013b44edece6600a225f7dcc24a39e5a2e3ad7.tar.gz
freebsd-ports-gnome-44013b44edece6600a225f7dcc24a39e5a2e3ad7.tar.zst
freebsd-ports-gnome-44013b44edece6600a225f7dcc24a39e5a2e3ad7.zip
Convert swig dependency to swig 3.0
While here, add license
Diffstat (limited to 'devel/libhid')
-rw-r--r--devel/libhid/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/libhid/Makefile b/devel/libhid/Makefile
index 50ab3241a900..811fabb95835 100644
--- a/devel/libhid/Makefile
+++ b/devel/libhid/Makefile
@@ -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>