Index: head/sysutils/ntfsprogs/Makefile =================================================================== --- head/sysutils/ntfsprogs/Makefile (revision 391909) +++ head/sysutils/ntfsprogs/Makefile (revision 391910) @@ -1,87 +1,89 @@ # $FreeBSD$ PORTNAME= ntfsprogs PORTVERSION= 2.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils MASTER_SITES= SF/linux-ntfs/NTFS%20Tools%20and%20Library/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Utilities and library to manipulate NTFS partitions -LICENSE= GPLv2 +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_INSTALL= fusefs-ntfs-* USES= fuse pkgconfig libtool tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip PORTDOCS= * OPTIONS_DEFINE= GNOMEVFS2 LOCK UBLIO UUID DOCS OPTIONS_DEFAULT=LOCK UBLIO GNOMEVFS2_DESC= Install GnomeVFS 2.0 libntfs interface LOCK_DESC= Lock the device when mounting (avoids access) UBLIO_DESC= Enable user space cache for improved speed UUID_DESC= Generate DCE compliant UUIDs SUB_FILES= pkg-message .include .if ${PORT_OPTIONS:MGNOMEVFS2} WANT_GNOME= yes .endif .include .if ${ARCH} == "i386" CFLAGS:= ${CFLAGS:C/-O.?/-O0/g} .endif .if ${PORT_OPTIONS:MGNOMEVFS2} CONFIGURE_ARGS+=--enable-gnome-vfs USE_GNOME= gnomevfs2 PLIST_SUB+= GNOMEVFS2="" .else CONFIGURE_ARGS+=--disable-gnome-vfs PLIST_SUB+= GNOMEVFS2="@comment " .endif .if ${PORT_OPTIONS:MLOCK} CFLAGS+= -DUSE_LOCK .endif .if ${PORT_OPTIONS:MUUID} LIB_DEPENDS+= libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid CONFIGURE_ARGS+=--enable-uuid .else CONFIGURE_ARGS+=--disable-uuid .endif .if ${PORT_OPTIONS:MUBLIO} LIB_DEPENDS+= libublio.so:${PORTSDIR}/devel/libublio CFLAGS+= -DUSE_UBLIO .else pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "WARNING: FreeBSD does not have cache support for block devices. This will considerably reduce the performance of this application, please consider enabling the UBLIO option and following the indications in the post-installation message." | ${FMT} @${ECHO_MSG} .endif .if ${PORT_OPTIONS:MUBLIO} post-patch: @${REINPLACE_CMD} -e 's|^libntfs_la_LIBADD =|& -lublio|' \ ${WRKSRC}/libntfs/Makefile.in .endif post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR} .include Index: head/sysutils/ntfsprogs/pkg-plist =================================================================== --- head/sysutils/ntfsprogs/pkg-plist (revision 391909) +++ head/sysutils/ntfsprogs/pkg-plist (revision 391910) @@ -1,74 +1,72 @@ bin/ntfscat bin/ntfscluster bin/ntfscmp bin/ntfsfix bin/ntfsinfo bin/ntfsls bin/ntfsmount -@exec ln -fs %D/%F /usr/sbin/mount_ntfs-fuse -@unexec rm -f /usr/sbin/mount_ntfs-fuse include/ntfs/attrib.h include/ntfs/attrlist.h include/ntfs/bitmap.h include/ntfs/bootsect.h include/ntfs/collate.h include/ntfs/compat.h include/ntfs/compress.h include/ntfs/crypto.h include/ntfs/debug.h include/ntfs/device.h include/ntfs/device_io.h include/ntfs/dir.h include/ntfs/endians.h include/ntfs/gnome-vfs-method.h include/ntfs/gnome-vfs-module.h include/ntfs/index.h include/ntfs/inode.h include/ntfs/layout.h include/ntfs/lcnalloc.h include/ntfs/list.h include/ntfs/logfile.h include/ntfs/logging.h include/ntfs/mft.h include/ntfs/mst.h include/ntfs/ntfstime.h include/ntfs/runlist.h include/ntfs/security.h include/ntfs/support.h include/ntfs/types.h include/ntfs/unistr.h include/ntfs/version.h include/ntfs/volume.h lib/libntfs.a lib/libntfs.so lib/libntfs.so.10 lib/libntfs.so.10.0.0 man/man8/libntfs-gnomevfs.8.gz man/man8/libntfs.8.gz man/man8/mkntfs.8.gz man/man8/mount_ntfs-fuse.8.gz man/man8/ntfscat.8.gz man/man8/ntfsclone.8.gz man/man8/ntfscluster.8.gz man/man8/ntfscmp.8.gz man/man8/ntfscp.8.gz man/man8/ntfsfix.8.gz man/man8/ntfsinfo.8.gz man/man8/ntfslabel.8.gz man/man8/ntfsls.8.gz man/man8/ntfsmount.8.gz man/man8/ntfsprogs.8.gz man/man8/ntfsresize.8.gz man/man8/ntfsundelete.8.gz sbin/mkntfs sbin/ntfsclone sbin/ntfscp sbin/ntfslabel sbin/ntfsresize sbin/ntfsundelete %%GNOMEVFS2%%etc/gnome-vfs-2.0/modules/libntfs.conf %%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.a %%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.so %%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.so.1 %%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.so.1.0.0 -@dirrm include/ntfs +/usr/sbin/mount_ntfs-fuse