Update to new upstream release 0.9.
This commit is contained in:
parent
ad39f5552f
commit
31d7e80a53
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310951
3 changed files with 17 additions and 21 deletions
|
@ -1,16 +1,12 @@
|
|||
# New ports collection Makefile for: wiggle
|
||||
# Date created: 2012-02-15
|
||||
# Whom: mandree@FreeBSD.org
|
||||
#
|
||||
# Created by: mandree@FreeBSD.org
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= wiggle
|
||||
PORTVERSION= 0.8.0.${_GITDATE}
|
||||
PORTVERSION= 0.9
|
||||
CATEGORIES= textproc
|
||||
#MASTER_SITES= http://neil.brown.name/wiggle/
|
||||
MASTER_SITES= LOCAL/mandree
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.xz
|
||||
MASTER_SITES= http://neil.brown.name/wiggle/
|
||||
#MASTER_SITES= LOCAL/mandree
|
||||
#DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.xz
|
||||
|
||||
MAINTAINER= mandree@FreeBSD.org
|
||||
COMMENT= Apply rejected patches and perform word-wise diffs
|
||||
|
@ -19,23 +15,21 @@ LICENSE= GPLv2
|
|||
|
||||
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
||||
|
||||
_GITDATE= 20111208
|
||||
_GITVERSION= 405d8fe
|
||||
#_GITDATE= 20111208
|
||||
#_GITVERSION= 405d8fe
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${_GITVERSION}
|
||||
#WRKSRC= ${WRKDIR}/${PORTNAME}-${_GITVERSION}
|
||||
USE_GMAKE= yes
|
||||
USE_XZ= yes
|
||||
#USE_XZ= yes
|
||||
|
||||
CFLAGS+= -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter
|
||||
MAKE_ENV+= CFLAGS="${CFLAGS}"
|
||||
MAKE_ARGS+= -e
|
||||
MAKE_ARGS+= CFLAGS="${CFLAGS} -I. -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter"
|
||||
|
||||
MAN1= wiggle.1
|
||||
PLIST_FILES= bin/wiggle
|
||||
|
||||
build-tarball: ${DISTFILES}
|
||||
${DISTFILES}.gz:
|
||||
${FETCH_CMD} -o ${DISTFILES}.gz 'http://neil.brown.name/git?p=wiggle;a=snapshot;h=${_GITVERSION};sf=tgz'
|
||||
${FETCH_CMD} -o ${DISTFILES}.gz 'http://git.neil.brown.name/git?p=wiggle;a=snapshot;h=${_GITVERSION};sf=tgz'
|
||||
${DISTFILES}: ${DISTFILES}.gz
|
||||
${GZIP_CMD} -cd ${DISTFILES}.gz | ${XZ_CMD} -c --best >${DISTFILES}
|
||||
|
||||
|
@ -43,9 +37,11 @@ upload-tarball: build-tarball
|
|||
scp ${DISTFILES} freefall.freebsd.org:public_distfiles/
|
||||
|
||||
pre-patch:
|
||||
${REINPLACE_CMD} -Ee 's/#include.*<malloc.h>/#include <stdlib.h>/' ${WRKSRC}/*.[ch]
|
||||
${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 clang warning:
|
||||
${REINPLACE_CMD} -Ee 's|(^[[:space:]]+[[:<:]])cols = cols;|\1(void)cols;|' ${WRKSRC}/vpatch.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wiggle ${PREFIX}/bin/
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (wiggle-0.8.0.20111208.tar.xz) = cd6fd35ff47dff4a36367d93ea982e79664402162156390a71e369e349f80882
|
||||
SIZE (wiggle-0.8.0.20111208.tar.xz) = 286000
|
||||
SHA256 (wiggle-0.9.tar.gz) = fe3dcf05a2cda07f42db2099ae8407acdb4d58bb9cfdc58c72395b7ae4a4e6b5
|
||||
SIZE (wiggle-0.9.tar.gz) = 809756
|
||||
|
|
|
@ -12,4 +12,4 @@ Also, wiggle will (in some cases) detect changes that have already been
|
|||
applied, and will ignore them.
|
||||
-- Neil Brown
|
||||
|
||||
WWW: http://neil.brown.name/git?p=wiggle;a=summary
|
||||
WWW: http://git.neil.brown.name/git?p=wiggle.git;a=summary
|
||||
|
|
Loading…
Reference in a new issue