Index: head/sysutils/dupd/Makefile =================================================================== --- head/sysutils/dupd/Makefile (revision 474839) +++ head/sysutils/dupd/Makefile (revision 474840) @@ -1,35 +1,34 @@ # Created by: Thomas Hurst # $FreeBSD$ PORTNAME= dupd PORTVERSION= 1.6 CATEGORIES= sysutils MAINTAINER= tom@hur.st COMMENT= File duplicate detection CLI utility LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= undefined reference to `_binary_man_dupd_start' NOT_FOR_ARCHS= arm armv6 armv7 i386 mips powerpc NOT_FOR_ARCHS_REASON= test fails on large files on 32-bit USES= gmake perl5 ssl sqlite:3 USE_PERL5= test TEST_DEPENDS+= bash:shells/bash USE_GITHUB= yes GH_ACCOUNT= jvirkki ALL_TARGET= dupd TEST_TARGET= test PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/sysutils/dupd/files/patch-src_main.c =================================================================== --- head/sysutils/dupd/files/patch-src_main.c (nonexistent) +++ head/sysutils/dupd/files/patch-src_main.c (revision 474840) @@ -0,0 +1,23 @@ +--- src/main.c.orig 2018-04-08 20:02:52 UTC ++++ src/main.c +@@ -141,19 +141,8 @@ static void show_help() + */ + static void show_usage() + { ++ system("/usr/bin/man dupd"); + show_banner(); +- +-#ifndef __APPLE__ +- char * p = &_binary_man_dupd_start; +- while (p != &_binary_man_dupd_end) { +- putchar(*p++); +- } +-#else +- printf("Usage documentation not available on Darwin!\n"); +- printf("\n"); +- printf("Alternatively, refer to the document here:\n"); +- printf("https://github.com/jvirkki/dupd\n"); +-#endif + } + + Property changes on: head/sysutils/dupd/files/patch-src_main.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property