mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
* Revert upstream commit aa45292de4e9047ff38bb5da79f896709aa0293a as new API isn't implemented in FreeBSD's libusb * Do some slight rearrangement of port Makefile PR: 283020 Approved by: desktop (arrowd)
36 lines
798 B
Makefile
36 lines
798 B
Makefile
PORTNAME= libmtp
|
|
DISTVERSION= 1.1.22
|
|
CATEGORIES= multimedia audio
|
|
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ \
|
|
SF
|
|
|
|
MAINTAINER= desktop@FreeBSD.org
|
|
COMMENT= Media Transfer Protocol (MTP) library
|
|
WWW= https://github.com/libmtp/libmtp
|
|
|
|
LICENSE= LGPL21+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
CONFLICTS_INSTALL=libosmo-sccp # lib/libmtp.a
|
|
|
|
USES= cpe gmake iconv libtool localbase pathfix pkgconfig
|
|
CPE_VENDOR= libmtp_project
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CONFIGURE_ARGS= --disable-doxygen \
|
|
--disable-rpath
|
|
|
|
OPTIONS_DEFINE= MTPZ
|
|
OPTIONS_DEFAULT=MTPZ
|
|
|
|
MTPZ_DESC= Enable functionality to connect to MTPZ devices
|
|
|
|
MTPZ_LIB_DEPENDS= libgcrypt.so:security/libgcrypt
|
|
MTPZ_CONFIGURE_ENABLE= mtpz
|
|
|
|
.include <bsd.port.mk>
|