From 983286ae60fa472091450f58b37185e905716ac0 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Tue, 31 Dec 2019 08:02:38 +0000 Subject: [PATCH] - Update to 2.0.0 - Make new ncurses interface optional --- sysutils/fdupes/Makefile | 25 +++++++++++++------------ sysutils/fdupes/distinfo | 6 +++--- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/sysutils/fdupes/Makefile b/sysutils/fdupes/Makefile index 9ea1a61d48e7..c90ee900df61 100644 --- a/sysutils/fdupes/Makefile +++ b/sysutils/fdupes/Makefile @@ -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 deleting duplicate files LICENSE= MIT +LIB_DEPENDS= libpcre2-32.so:devel/pcre2 + +USES= autoreconf libtool localbase pkgconfig +GNU_CONFIGURE= yes + USE_GITHUB= yes GH_ACCOUNT= adrianlopezroche +OPTIONS_DEFINE= NCURSES +OPTIONS_DEFAULT=NCURSES + +NCURSES_USES= ncurses:base +NCURSES_CONFIGURE_OFF= --without-ncurses + PLIST_FILES= bin/fdupes man/man1/fdupes.1.gz - -CFLAGS+= -DVERSION=\"${PORTVERSION}\" - -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 +NCURSES_PLIST_FILES= man/man7/fdupes-help.7.gz .include diff --git a/sysutils/fdupes/distinfo b/sysutils/fdupes/distinfo index 9fc596758e92..151e24454733 100644 --- a/sysutils/fdupes/distinfo +++ b/sysutils/fdupes/distinfo @@ -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