openbsd-ports/devel/libhid/Makefile
sthen 4d259ed5ef Fix up alioth.debian.org MASTER_SITES URLs.
Old https://alioth.debian.org/frs/download.php/xxx/ URLs now give a 0-byte
file, the "proper" https://alioth.debian.org/frs/download.php/file/xxx/
URLs give a 406 error unless there's an http Accept: header, but URLs in the
form https://alioth.debian.org/frs/download.php/latestfile/yyy/ do work, and
don't need changing for each release of the distfile ("yyy" is different to
the per-file "xxx" value and needs to be looked up on the project's file
listing page...)

(These URLs also need the relevant ca cert; that is a separate issue.)
2014-01-14 00:38:39 +00:00

32 lines
618 B
Makefile

# $OpenBSD: Makefile,v 1.9 2014/01/14 00:38:39 sthen Exp $
COMMENT = user-space USB HID access library written in C
DISTNAME = libhid-0.2.16
REVISION = 0
SHARED_LIBS = hid 0.0
CATEGORIES = devel
HOMEPAGE = http://libhid.alioth.debian.org/
MAINTAINER = Jonathan Armani <armani@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c usb pthread usb-1.0
MASTER_SITES= https://www.alioth.debian.org/frs/download.php/latestfile/336/
LIB_DEPENDS = devel/libusb-compat
USE_GMAKE = Yes
USE_GROFF = Yes
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --disable-swig
.include <bsd.port.mk>