1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/textproc/wiggle/Makefile
Matthias Andree 55d0e29061 textproc/wiggle: update to v1.3
- performance improvements when comparing large files
- fix a bug that corrupted the format of output in some cases

https://github.com/neilbrown/wiggle/releases/tag/v1.3
2020-10-07 21:18:19 +00:00

31 lines
808 B
Makefile

# Created by: mandree@FreeBSD.org
# $FreeBSD$
PORTNAME= wiggle
PORTVERSION= 1.3
CATEGORIES= textproc
MASTER_SITES= http://neil.brown.name/wiggle/
MAINTAINER= mandree@FreeBSD.org
COMMENT= Apply rejected patches and perform word-wise diffs
LICENSE= GPLv2
BUILD_DEPENDS= bash:shells/bash
USES= gmake groff
USE_GITHUB= yes
GH_TUPLE= neilbrown:${PORTNAME}:v${PORTVERSION}
MAKE_ARGS+= CFLAGS="${CFLAGS} -I. -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter"
pre-patch:
${REINPLACE_CMD} -Ee 's,\./dotest,bash ./dotest,' ${WRKSRC}/Makefile
${REINPLACE_CMD} -Ee 's|#include.*<endian.h>|#include <sys/endian.h>|' ${WRKSRC}/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wiggle ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/wiggle.1 ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk>