Revision: 90221 http://trac.macports.org/changeset/90221 Author: snc@macports.org Date: 2012-02-26 18:37:46 -0800 (Sun, 26 Feb 2012) Log Message: ----------- mtpfs: create version 1.0 Added Paths: ----------- trunk/dports/sysutils/mtpfs/ trunk/dports/sysutils/mtpfs/Portfile trunk/dports/sysutils/mtpfs/files/ trunk/dports/sysutils/mtpfs/files/patch-mtpfs.h.diff Added: trunk/dports/sysutils/mtpfs/Portfile =================================================================== --- trunk/dports/sysutils/mtpfs/Portfile (rev 0) +++ trunk/dports/sysutils/mtpfs/Portfile 2012-02-27 02:37:46 UTC (rev 90221) @@ -0,0 +1,36 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 +# $Id$ + +PortSystem 1.0 + +name mtpfs +version 1.0 +categories sysutils +maintainers snc openmaintainer +license GPL-3 +description read and write from any MTP device +long_description MTPfs is a FUSE filesystem that supports reading and \ + writing from any MTP device (as supported by libmtp) +homepage http://www.adebenham.com/mtpfs/ + +platforms freebsd darwin +depends_build port:pkgconfig +depends_lib port:libmtp port:fuse4x port:glib2 port:libmad port:libid3tag + +master_sites http://www.adebenham.com/debian/ + +checksums rmd160 b0be57ca5f82cb3c4e957f51d386e63f8bc6d701 \ + sha256 879ccf929a7ce395af30ae81314850a5cb55a0056107477016121b9392c49c13 + +patchfiles patch-mtpfs.h.diff +post-patch { + reinplace s|-DFUSE_USE_VERSION=22|-DFUSE_USE_VERSION=25| ${worksrcpath}/Makefile.in +} + +if {${configure.compiler} == "clang"} { + configure.cflags-append -Wno-error=return-type +} + +livecheck.type regex +livecheck.url ${homepage} +livecheck.regex ${name}-(\\d+(\\.\\d+)+) Property changes on: trunk/dports/sysutils/mtpfs/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native Added: trunk/dports/sysutils/mtpfs/files/patch-mtpfs.h.diff =================================================================== --- trunk/dports/sysutils/mtpfs/files/patch-mtpfs.h.diff (rev 0) +++ trunk/dports/sysutils/mtpfs/files/patch-mtpfs.h.diff 2012-02-27 02:37:46 UTC (rev 90221) @@ -0,0 +1,12 @@ +--- mtpfs.h.orig 2012-02-26 18:08:49.000000000 -0500 ++++ mtpfs.h 2012-02-26 18:09:01.000000000 -0500 +@@ -18,7 +18,8 @@ + #include <fcntl.h> + #include <dirent.h> + #include <errno.h> +-#include <sys/statfs.h> ++#include <sys/param.h> ++#include <sys/mount.h> + + #include <libmtp.h> + #include <glib.h>
participants (1)
-
snc@macports.org