freebsd-ports/textproc/wiggle/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

34 lines
1,014 B
Makefile

# Created by: mandree@FreeBSD.org
# $FreeBSD$
PORTNAME= wiggle
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://neil.brown.name/wiggle/
MAINTAINER= mandree@FreeBSD.org
COMMENT= Apply rejected patches and perform word-wise diffs
LICENSE= GPLv2
BROKEN_powerpc64= Does not build
BUILD_DEPENDS= bash:shells/bash
USES= compiler:nestedfct gmake ncurses
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,/usr/bin/time -o .time -f '%U',," ${WRKSRC}/dotest
${REINPLACE_CMD} -Ee 's|#include.*<endian.h>|#include <sys/endian.h>|' ${WRKSRC}/config.h
@# fix a clang warning:
${REINPLACE_CMD} -Ee 's|(^[[:space:]]+[[:<:]])cols = cols;|\1(void)cols;|' ${WRKSRC}/vpatch.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wiggle ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/wiggle.1 ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk>