aboutsummaryrefslogtreecommitdiff
path: root/audio/libmtp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-06 21:20:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-06 21:20:45 +0000
commit47d874463f89d366d664b3f367ba0e42fb5af50f (patch)
tree92d1d660a95bbca588be037457a31aab4349f75b /audio/libmtp
parente9fde851f1f63b8e210d24223f09c7d725ed0552 (diff)
downloadports-47d874463f89d366d664b3f367ba0e42fb5af50f.tar.gz
ports-47d874463f89d366d664b3f367ba0e42fb5af50f.zip
Notes
Diffstat (limited to 'audio/libmtp')
-rw-r--r--audio/libmtp/Makefile34
-rw-r--r--audio/libmtp/distinfo3
-rw-r--r--audio/libmtp/pkg-descr4
-rw-r--r--audio/libmtp/pkg-plist20
4 files changed, 61 insertions, 0 deletions
diff --git a/audio/libmtp/Makefile b/audio/libmtp/Makefile
new file mode 100644
index 000000000000..fe5bafb6cdb0
--- /dev/null
+++ b/audio/libmtp/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: libmtp
+# Date created: 3 December 2006
+# Whom: Petar Zhivkov Petrov (pesho.petrov@gmail.com)
+#
+# $FreeBSD$
+#
+
+PORTNAME= libmtp
+PORTVERSION= 0.0.21
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= pesho.petrov@gmail.com
+COMMENT= Media Transfer Protocol (MTP) library
+
+LIB_DEPENDS= usb:${PORTSDIR}/devel/libusb \
+ iconv:${PORTSDIR}/converters/libiconv
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
+USE_GNOME= gnomehack
+USE_LDCONFIG= yes
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib -liconv
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile on 4.x
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/libmtp/distinfo b/audio/libmtp/distinfo
new file mode 100644
index 000000000000..6bca2af8a0f0
--- /dev/null
+++ b/audio/libmtp/distinfo
@@ -0,0 +1,3 @@
+MD5 (libmtp-0.0.21.tar.gz) = 621b4590c3c0d09f3546ad67f39ef80b
+SHA256 (libmtp-0.0.21.tar.gz) = 7d7d28bc92d44f2f8f8c235535428c20a559db227e2184bbd58b22a58f8103be
+SIZE (libmtp-0.0.21.tar.gz) = 447358
diff --git a/audio/libmtp/pkg-descr b/audio/libmtp/pkg-descr
new file mode 100644
index 000000000000..d670c2daac55
--- /dev/null
+++ b/audio/libmtp/pkg-descr
@@ -0,0 +1,4 @@
+libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)
+in a form of a library.
+
+WWW: http://libmtp.sourceforge.net/
diff --git a/audio/libmtp/pkg-plist b/audio/libmtp/pkg-plist
new file mode 100644
index 000000000000..42f915320129
--- /dev/null
+++ b/audio/libmtp/pkg-plist
@@ -0,0 +1,20 @@
+bin/mtp-delfile
+bin/mtp-detect
+bin/mtp-files
+bin/mtp-folders
+bin/mtp-format
+bin/mtp-getfile
+bin/mtp-getplaylist
+bin/mtp-hotplug
+bin/mtp-newfolder
+bin/mtp-playlists
+bin/mtp-sendfile
+bin/mtp-sendtr
+bin/mtp-tracks
+bin/mtp-trexist
+include/libmtp.h
+lib/libmtp.a
+lib/libmtp.la
+lib/libmtp.so
+lib/libmtp.so.3
+libdata/pkgconfig/libmtp.pc