aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fdupes
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2019-12-31 08:02:38 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2019-12-31 08:02:38 +0000
commit983286ae60fa472091450f58b37185e905716ac0 (patch)
tree498e3ebd65403518b93fb92e60e066abd412c690 /sysutils/fdupes
parent916f390eecc949685d5de0bc0d4a3091f33d9f57 (diff)
downloadports-983286ae60fa472091450f58b37185e905716ac0.tar.gz
ports-983286ae60fa472091450f58b37185e905716ac0.zip
- Update to 2.0.0
- Make new ncurses interface optional
Notes
Notes: svn path=/head/; revision=521597
Diffstat (limited to 'sysutils/fdupes')
-rw-r--r--sysutils/fdupes/Makefile23
-rw-r--r--sysutils/fdupes/distinfo6
2 files changed, 15 insertions, 14 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
-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>
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