Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2019 08:02:38 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521597 - head/sysutils/fdupes
Message-ID:  <201912310802.xBV82cVF058210@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Dec 31 08:02:38 2019
New Revision: 521597
URL: https://svnweb.freebsd.org/changeset/ports/521597

Log:
  - Update to 2.0.0
  - Make new ncurses interface optional

Modified:
  head/sysutils/fdupes/Makefile
  head/sysutils/fdupes/distinfo

Modified: head/sysutils/fdupes/Makefile
==============================================================================
--- head/sysutils/fdupes/Makefile	Tue Dec 31 06:46:55 2019	(r521596)
+++ head/sysutils/fdupes/Makefile	Tue Dec 31 08:02:38 2019	(r521597)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	fdupes
-PORTVERSION=	1.6.1
-DISTVERSIONPREFIX=	v
+PORTVERSION=	2.0.0
 PORTEPOCH=	1
 CATEGORIES=	sysutils
 
@@ -12,19 +11,21 @@ COMMENT=	Fdupes is a program for identifying or deleti
 
 LICENSE=	MIT
 
+LIB_DEPENDS=	libpcre2-32.so:devel/pcre2
+
+USES=		autoreconf libtool localbase pkgconfig
+GNU_CONFIGURE=	yes
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	adrianlopezroche
 
-PLIST_FILES=	bin/fdupes man/man1/fdupes.1.gz
+OPTIONS_DEFINE=	NCURSES
+OPTIONS_DEFAULT=NCURSES
 
-CFLAGS+=	-DVERSION=\"${PORTVERSION}\"
+NCURSES_USES=	ncurses:base
+NCURSES_CONFIGURE_OFF=	--without-ncurses
 
-do-build:
-	${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c \
-		-o ${WRKSRC}/${PORTNAME}
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+PLIST_FILES=	bin/fdupes man/man1/fdupes.1.gz
+NCURSES_PLIST_FILES=	man/man7/fdupes-help.7.gz
 
 .include <bsd.port.mk>

Modified: head/sysutils/fdupes/distinfo
==============================================================================
--- head/sysutils/fdupes/distinfo	Tue Dec 31 06:46:55 2019	(r521596)
+++ head/sysutils/fdupes/distinfo	Tue Dec 31 08:02:38 2019	(r521597)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1473289952
-SHA256 (adrianlopezroche-fdupes-v1.6.1_GH0.tar.gz) = 9d6b6fdb0b8419815b4df3bdfd0aebc135b8276c90bbbe78ebe6af0b88ba49ea
-SIZE (adrianlopezroche-fdupes-v1.6.1_GH0.tar.gz) = 20869
+TIMESTAMP = 1577729835
+SHA256 (adrianlopezroche-fdupes-2.0.0_GH0.tar.gz) = 7d2bddee297b6780547ce7f4f6a9e045cae90b763f64cf971b558f0374ec8909
+SIZE (adrianlopezroche-fdupes-2.0.0_GH0.tar.gz) = 46448



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912310802.xBV82cVF058210>