openbsd-ports/devel/libmtp/Makefile

36 lines
817 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2011/11/13 13:54:04 ajacoutot Exp $
COMMENT= Media Transfer Protocol (MTP) implementation
DISTNAME= libmtp-1.0.3
REVISION= 2
SHARED_LIBS= mtp 4.0
CATEGORIES= devel
HOMEPAGE= http://libmtp.sourceforge.net/
2009-06-03 13:13:28 -04:00
MAINTAINER= William Yodlowsky <william@openbsd.org>
2010-12-23 11:36:16 -05:00
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c usb pthread usb-1.0
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmtp/}
MODULES= converters/libiconv
2010-12-23 08:09:00 -05:00
BUILD_DEPENDS= devel/doxygen
LIB_DEPENDS= devel/libusb-compat
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -pthread"
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
2010-12-23 08:09:00 -05:00
FAKE_FLAGS+= pkgdocdir="${PREFIX}/share/doc/libmtp/"
.include <bsd.port.mk>