1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/sysutils/dupd/Makefile
Steve Wills 60e5f44d67 sysutils/dupd: update to version 1.7
PR:		229773
Submitted by:	jyri@virkki.com (original patch)
Submitted by:	Nathan <ndowens@yahoo.com> (final patch)
Approved by:	jyri@virkki.com (maintainer)
2019-01-15 14:44:25 +00:00

41 lines
812 B
Makefile

# Created by: Thomas Hurst <tom@hur.st>
# $FreeBSD$
PORTNAME= dupd
PORTVERSION= 1.7
CATEGORIES= sysutils
MAINTAINER= tom@hur.st
COMMENT= File duplicate detection CLI utility
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS+= bash:shells/bash
USES= gmake localbase perl5 sqlite:3 ssl
USE_PERL5= test
ALL_TARGET= dupd
TEST_TARGET= test
USE_GITHUB= yes
GH_ACCOUNT= jvirkki
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS
OPTIMIZED_CFLAGS_MAKE_ARGS= CFLAGS="${CFLAGS:S/O2/O3/g}"
# This gets rid of extra optimization caused by opt?
post-extract:
${REINPLACE_CMD} -e '/OPT?=/d' ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs ; ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>