2013-03-21 04:45:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2013/03/21 08:45:15 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
|
|
|
|
2013-01-26 04:46:35 -05:00
|
|
|
DISTNAME= libmtp-1.1.5
|
|
|
|
SHARED_LIBS += mtp 5.1 # 9.5
|
2007-01-11 16:56:16 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://libmtp.sourceforge.net/
|
|
|
|
|
2010-12-23 11:36:16 -05:00
|
|
|
# LGPLv2.1
|
2007-01-11 16:56:16 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2011-11-13 08:54:04 -05:00
|
|
|
|
2012-04-23 09:39:50 -04:00
|
|
|
WANTLIB= c gcrypt gpg-error pthread usb-1.0
|
2007-01-11 16:56:16 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmtp/}
|
|
|
|
|
2012-04-23 09:39:50 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2010-12-23 08:09:00 -05:00
|
|
|
BUILD_DEPENDS= devel/doxygen
|
2012-04-01 17:05:20 -04:00
|
|
|
MAKE_ENV+= DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC}
|
2012-04-23 09:39:50 -04:00
|
|
|
LIB_DEPENDS= devel/libusb1 \
|
|
|
|
security/libgcrypt
|
2007-01-11 16:56:16 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2012-04-23 09:39:50 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-doxygen
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -pthread" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
2007-01-11 16:56:16 -05:00
|
|
|
|
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>
|