diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2012-08-30 08:29:49 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2012-08-30 08:29:49 +0800 |
commit | 06a86bff9b4ce26d800d1b2d1123de38f82247d9 (patch) | |
tree | f2419d6a0c6b4cc6ce843351d2adfb8655a5e1ab /sysutils/ntfsprogs | |
parent | b0f287e04d05bb27bb40d3549487e13e2cc15068 (diff) | |
download | freebsd-ports-gnome-06a86bff9b4ce26d800d1b2d1123de38f82247d9.tar.gz freebsd-ports-gnome-06a86bff9b4ce26d800d1b2d1123de38f82247d9.tar.zst freebsd-ports-gnome-06a86bff9b4ce26d800d1b2d1123de38f82247d9.zip |
- Add conflicts with sysutils/fusefs-ntfs [1][2]
- Reset maintainership per private request
- Convert to new options framework
- Remove ABI version from LIB_DEPENDS
- Add LICENSE (GPL2)
- Update to working WWW
PR: ports/169043 [1], ports/170229 [2]
Submitted by: "Julian H. Stacey" <jhs@berklix.com> [1]
Approved by: Samuel Martin Moro <faust64@gmail.com> (maintainer)
Approved by: eadler (mentor)
Diffstat (limited to 'sysutils/ntfsprogs')
-rw-r--r-- | sysutils/ntfsprogs/Makefile | 31 | ||||
-rw-r--r-- | sysutils/ntfsprogs/pkg-descr | 2 |
2 files changed, 20 insertions, 13 deletions
diff --git a/sysutils/ntfsprogs/Makefile b/sysutils/ntfsprogs/Makefile index f0369877b371..d03553b46d92 100644 --- a/sysutils/ntfsprogs/Makefile +++ b/sysutils/ntfsprogs/Makefile @@ -11,11 +11,15 @@ PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SF/linux-ntfs/NTFS%20Tools%20and%20Library/${PORTVERSION} -MAINTAINER= faust64@gmail.com +MAINTAINER= ports@FreeBSD.org COMMENT= Utilities and library to manipulate NTFS partitions +LICENSE= GPLv2 + BUILD_DEPENDS= fusefs-libs>2.5:${PORTSDIR}/sysutils/fusefs-libs +CONFLICTS_INSTALL= fusefs-ntfs-* + USE_GNOME= pkgconfig USE_BZIP2= yes USE_LDCONFIG= yes @@ -23,10 +27,13 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS= GNOMEVFS2 "Install GnomeVFS 2.0 libntfs interface" off \ - LOCK "Lock the device when mounting (avoids access)" on \ - UBLIO "Enable user space cache for improved speed" on \ - UUID "Generate DCE compliant UUIDs" off +OPTIONS_DEFINE= GNOMEVFS2 LOCK UBLIO UUID +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 MAN8= libntfs.8 libntfs-gnomevfs.8 mkntfs.8 \ ntfscat.8 ntfsclone.8 ntfscluster.8 ntfscmp.8 \ @@ -42,7 +49,7 @@ SUB_FILES= pkg-message CFLAGS:= ${CFLAGS:C/-O.?/-O0/g} .endif -.if defined(WITH_GNOMEVFS2) +.if ${PORT_OPTIONS:MGNOMEVFS2} CONFIGURE_ARGS+=--enable-gnome-vfs USE_GNOME= gnomevfs2 PLIST_SUB+= GNOMEVFS2="" @@ -51,19 +58,19 @@ CONFIGURE_ARGS+=--disable-gnome-vfs PLIST_SUB+= GNOMEVFS2="@comment " .endif -.if defined(WITH_LOCK) +.if ${PORT_OPTIONS:MLOCK} CFLAGS+= -DUSE_LOCK .endif -.if defined(WITH_UUID) -LIB_DEPENDS+= uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid +.if ${PORT_OPTIONS:MUUID} +LIB_DEPENDS+= uuid:${PORTSDIR}/misc/e2fsprogs-libuuid CONFIGURE_ARGS+=--enable-uuid .else CONFIGURE_ARGS+=--disable-uuid .endif -.if defined(WITH_UBLIO) -LIB_DEPENDS+= ublio.1:${PORTSDIR}/devel/libublio +.if ${PORT_OPTIONS:MUBLIO} +LIB_DEPENDS+= ublio:${PORTSDIR}/devel/libublio CFLAGS+= -DUSE_UBLIO .else pre-everything:: @@ -72,7 +79,7 @@ pre-everything:: @${ECHO_MSG} .endif -.if defined(WITH_UBLIO) +.if ${PORT_OPTIONS:MUBLIO} post-patch: @${REINPLACE_CMD} -e 's|^libntfs_la_LIBADD =|& -lublio|' \ ${WRKSRC}/libntfs/Makefile.in diff --git a/sysutils/ntfsprogs/pkg-descr b/sysutils/ntfsprogs/pkg-descr index e9acce13c795..97a0e6079107 100644 --- a/sysutils/ntfsprogs/pkg-descr +++ b/sysutils/ntfsprogs/pkg-descr @@ -9,4 +9,4 @@ ntfsprogs: various tools for managing ntfs, namely mkntfs, ntfsresize, ntfsclone, ntfsfix, ntfsundelete, ntfswipe and ntfsdecrypt. -WWW: http://www.linux-ntfs.org/ +WWW: https://sourceforge.net/projects/linux-ntfs/ |