aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-08-29 17:08:46 +0800
committertijl <tijl@FreeBSD.org>2014-08-29 17:08:46 +0800
commit400717abbba6937807d854fba6e407de8a310fb6 (patch)
treed93037e64e55b86854158768ab4c9f0311dabd65 /devel
parent4f26b89cdc6e9a27e47a464662916a31522636fc (diff)
downloadfreebsd-ports-gnome-400717abbba6937807d854fba6e407de8a310fb6.tar.gz
freebsd-ports-gnome-400717abbba6937807d854fba6e407de8a310fb6.tar.zst
freebsd-ports-gnome-400717abbba6937807d854fba6e407de8a310fb6.zip
- Move BUILD_DEPENDS to the right place
- Replace HAS_CONFIGURE with GNU_CONFIGURE - Add USES=libtool and INSTALL_TARGET=install-strip - Replace patch with USES=pathfix
Diffstat (limited to 'devel')
-rw-r--r--devel/libhid/Makefile16
-rw-r--r--devel/libhid/files/patch-Makefile.in9
-rw-r--r--devel/libhid/pkg-plist8
3 files changed, 12 insertions, 21 deletions
diff --git a/devel/libhid/Makefile b/devel/libhid/Makefile
index d31d76acebdc..c97b0f5a335e 100644
--- a/devel/libhid/Makefile
+++ b/devel/libhid/Makefile
@@ -3,23 +3,23 @@
PORTNAME= libhid
PORTVERSION= 0.2.16
-PORTREVISION= 2
+PORTREVISION= 3
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
-USE_LDCONFIG= yes
-USE_PYTHON= yes
-USES= gmake
-
-BUILD_DEPENDS+= ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
+BUILD_DEPENDS= ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/html:${PORTSDIR}/textproc/docbook-xsl \
${LOCALBASE}/bin/swig1.3:${PORTSDIR}/devel/swig13
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS+=--prefix=${PREFIX} --mandir=${MANPREFIX}/man --without-doxygen --disable-werror
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-doxygen --disable-werror
+INSTALL_TARGET= install-strip
+USES= gmake libtool pathfix
+USE_LDCONFIG= yes
+USE_PYTHON= yes
EXTRA_PATCHES= ${FILESDIR}/extra-patch-usb
diff --git a/devel/libhid/files/patch-Makefile.in b/devel/libhid/files/patch-Makefile.in
index cc2b4d0a5d0b..05066af6360a 100644
--- a/devel/libhid/files/patch-Makefile.in
+++ b/devel/libhid/files/patch-Makefile.in
@@ -1,14 +1,5 @@
--- Makefile.in.orig 2007-07-16 13:40:13.000000000 +0300
+++ Makefile.in 2007-07-16 13:41:37.000000000 +0300
-@@ -273,7 +273,7 @@
- include/compiler.h \
- include/os.h
-
--pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = $(prefix)/libdata/pkgconfig
- pkgconfig_DATA = pkgconfig/libhid.pc
- dist_noinst_DATA = \
- debian/changelog \
@@ -293,7 +293,7 @@
README.licence
diff --git a/devel/libhid/pkg-plist b/devel/libhid/pkg-plist
index ff616ac28493..8b71ad571480 100644
--- a/devel/libhid/pkg-plist
+++ b/devel/libhid/pkg-plist
@@ -3,15 +3,15 @@ include/hid.h
include/hidparser.h
include/hidtypes.h
lib/libhid.a
-lib/libhid.la
lib/libhid.so
lib/libhid.so.0
+lib/libhid.so.0.0.0
libdata/pkgconfig/libhid.pc
man/man1/libhid-detach-device.1.gz
-%%PYTHON_SITELIBDIR%%/libhid/_hid.so.0
-%%PYTHON_SITELIBDIR%%/libhid/_hid.so
-%%PYTHON_SITELIBDIR%%/libhid/_hid.la
%%PYTHON_SITELIBDIR%%/libhid/_hid.a
+%%PYTHON_SITELIBDIR%%/libhid/_hid.so
+%%PYTHON_SITELIBDIR%%/libhid/_hid.so.0
+%%PYTHON_SITELIBDIR%%/libhid/_hid.so.0.0.0
%%PYTHON_SITELIBDIR%%/libhid/__init__.py
%%PYTHON_SITELIBDIR%%/libhid/__init__.pyc
%%PYTHON_SITELIBDIR%%/libhid/__init__.pyo