1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- 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
This commit is contained in:
Tijl Coosemans 2014-08-29 09:08:46 +00:00
parent be22272963
commit 4b6c3b107a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366469
3 changed files with 12 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -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