1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Update to 2.0.0

- Make new ncurses interface optional
This commit is contained in:
Emanuel Haupt 2019-12-31 08:02:38 +00:00
parent 916f390eec
commit 983286ae60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521597
2 changed files with 16 additions and 15 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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