summaryrefslogtreecommitdiff
path: root/devel/libmtp/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-09-06 23:24:08 +0000
committerwiz <wiz@pkgsrc.org>2008-09-06 23:24:08 +0000
commitc294a8a4e03bf7b0846c6c4dd287fdc4f4203075 (patch)
treed53b3719b909ee00aa334dd4de14fc6922b67f28 /devel/libmtp/Makefile
parent54f813d1b6eca209acea2fea068e34f613a13fec (diff)
downloadpkgsrc-c294a8a4e03bf7b0846c6c4dd287fdc4f4203075.tar.gz
Initial import of libmtp-0.3.1, based on pkgsrc-wip package originally
by neimal, with work by netcap, hoka_adam, bsadewitz and me. libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP) in the form of a library suitable primarily for POSIX compliant operating systems. We implement MTP Basic, the stuff proposed for standardization. It is used by: * XNJB * Gnomad2 * MTPdude * AmaroK
Diffstat (limited to 'devel/libmtp/Makefile')
-rw-r--r--devel/libmtp/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/libmtp/Makefile b/devel/libmtp/Makefile
new file mode 100644
index 00000000000..d004a576059
--- /dev/null
+++ b/devel/libmtp/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/06 23:24:08 wiz Exp $
+#
+
+DISTNAME= libmtp-0.3.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmtp/}
+
+MAINTAINER= ku3@sl.aanet.ru
+HOMEPAGE= http://libmtp.sourceforge.net/
+COMMENT= Implementation of Media Transfer Protocol (MTP)
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+
+PKGCONFIG_OVERRIDE+= libmtp.pc.in
+
+REPLACE_SH= hotplug.sh.in
+REPLACE_SH+= libmtp.sh.in
+
+# XXX ?
+LDFLAGS.FreeBSD+= -liconv
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/libusb/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"