openbsd-ports/devel/libmtp/Makefile

37 lines
873 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.20 2012/04/23 13:39:50 jasper Exp $
COMMENT= Media Transfer Protocol (MTP) implementation
DISTNAME= libmtp-1.1.3
SHARED_LIBS += mtp 5.0 # 9.3
CATEGORIES= devel
HOMEPAGE= http://libmtp.sourceforge.net/
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 gcrypt gpg-error pthread usb-1.0
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmtp/}
MODULES= devel/gettext
2010-12-23 08:09:00 -05:00
BUILD_DEPENDS= devel/doxygen
MAKE_ENV+= DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC}
LIB_DEPENDS= devel/libusb1 \
security/libgcrypt
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-doxygen
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -pthread" \
CPPFLAGS="-I${LOCALBASE}/include"
2010-12-23 08:09:00 -05:00
FAKE_FLAGS+= pkgdocdir="${PREFIX}/share/doc/libmtp/"
.include <bsd.port.mk>