2012-04-23 09:39:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2012/04/23 13:39:50 jasper 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
|
|
|
|
2012-04-23 09:39:50 -04:00
|
|
|
DISTNAME= libmtp-1.1.3
|
|
|
|
SHARED_LIBS += mtp 5.0 # 9.3
|
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
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= 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
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
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>
|