[42402] trunk/dports/sysutils/ntfsprogs/Portfile

devans at macports.org devans at macports.org
Thu Nov 20 14:17:56 PST 2008


Revision: 42402
          http://trac.macports.org/changeset/42402
Author:   devans at macports.org
Date:     2008-11-20 14:17:56 -0800 (Thu, 20 Nov 2008)
Log Message:
-----------
ntfs: update configure args, dependencies, variants change --disable-fuse-module to --disable-ntfsmount add --without-uuid remove libtasn1 and other superfluous depends from +crypto and add libconfig-hr add new variants ntfsmount and gnome_vfs correct build target for variant extra destroot.violate_mtree only applies to ntfsmount variant

Modified Paths:
--------------
    trunk/dports/sysutils/ntfsprogs/Portfile

Modified: trunk/dports/sysutils/ntfsprogs/Portfile
===================================================================
--- trunk/dports/sysutils/ntfsprogs/Portfile	2008-11-20 22:05:18 UTC (rev 42401)
+++ trunk/dports/sysutils/ntfsprogs/Portfile	2008-11-20 22:17:56 UTC (rev 42402)
@@ -21,28 +21,39 @@
 livecheck.distname  ntfsprogs
 livecheck.url       http://sourceforge.net/export/rss2_projnews.php?group_id=13956
 
-configure.args      --disable-gnome-vfs --disable-fuse-module --disable-crypto
+configure.args      --disable-gnome-vfs \
+                    --disable-ntfsmount \
+                    --disable-crypto \
+                    --without-uuid
 
-depends_lib         port:pkgconfig
+depends_build       port:pkgconfig
 
-variant crypto {
+variant crypto description {Enable crypto related code and utilities} {
     configure.args-delete   --disable-crypto
     configure.args-append   --enable-crypto
-    
-    depends_lib-append  lib:libgcrypt:libgcrypt lib:libgnutls:gnutls
-    # I don't know why but trace mode complained about the following libraries
-    # though I can't find any references in the source tree. Lets quiet trace mode
-    depends_lib-append port:gettext port:libgpg-error port:libiconv port:libtasn1 port:zlib
+    depends_lib-append      port:gnutls \
+                            port:libconfig-hr
 }
 
-variant extra {
-    build.target-append     extra
+variant ntfsmount description {Enable userspace NTFS driver using FUSE} {
+    configure.args-delete   --disable-ntfsmount
+    configure.args-append   --enable-ntfsmount
+    depends_lib-append      port:macfuse
+    destroot.violate_mtree  yes
 }
 
+variant gnome_vfs description {Enable building of gnome-vfs libntfs modules} {
+    configure.args-delete   --disable-gnome-vfs
+    configure.args-append   --enable-gnome-vfs
+    depends_lib-append      port:gnome-vfs
+}
+
+variant extra description {Build extra ntfs programs} {
+    build.target            all extra
+}
+
 platform darwin {}
 
-destroot.violate_mtree yes
-
 post-destroot {
     if {[variant_isset darwin]} {
         # /sbin/mkfs.ntfs is unnecessary since darwin doesn't have mkfs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081120/294730b3/attachment.html>


More information about the macports-changes mailing list