2008-04-21 11:23:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2008/04/21 15:23:22 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
|
|
|
|
2008-04-21 11:23:22 -04:00
|
|
|
DISTNAME= libmtp-0.2.6.1
|
|
|
|
SHARED_LIBS= mtp 3.0 # .8.0
|
2007-01-11 16:56:16 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://libmtp.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmtp/}
|
|
|
|
|
|
|
|
LIB_DEPENDS= iconv.>=4::converters/libiconv \
|
|
|
|
usb.>=8::devel/libusb
|
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|