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