mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
Convert swig dependency to swig 3.0
While here, add license
This commit is contained in:
parent
c833555fe1
commit
c3f4c6e5a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456725
1 changed files with 9 additions and 2 deletions
|
@ -3,23 +3,30 @@
|
||||||
|
|
||||||
PORTNAME= libhid
|
PORTNAME= libhid
|
||||||
PORTVERSION= 0.2.16
|
PORTVERSION= 0.2.16
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= http://alioth.debian.org/frs/download.php/1958/
|
MASTER_SITES= http://alioth.debian.org/frs/download.php/1958/
|
||||||
|
|
||||||
MAINTAINER= ntarmos@cs.uoi.gr
|
MAINTAINER= ntarmos@cs.uoi.gr
|
||||||
COMMENT= User-space HID access library written in C
|
COMMENT= User-space HID access library written in C
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/bin/xsltproc:textproc/libxslt \
|
BUILD_DEPENDS= ${LOCALBASE}/bin/xsltproc:textproc/libxslt \
|
||||||
docbook-xsl>0:textproc/docbook-xsl \
|
docbook-xsl>0:textproc/docbook-xsl \
|
||||||
${LOCALBASE}/bin/swig1.3:devel/swig13
|
${LOCALBASE}/bin/swig3.0:devel/swig30
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --without-doxygen --disable-werror
|
CONFIGURE_ARGS= --without-doxygen --disable-werror
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
USES= gmake libtool pathfix python:2.7
|
USES= gmake libtool pathfix python:2.7
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
BINARY_ALIAS= swig=swig3.0
|
||||||
|
|
||||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-usb
|
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>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue