aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xdelta3/Makefile
blob: 2d2fc69be82305fd663eefcf018e0cb8ea3b8194 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   xdelta
PORTVERSION=    3.1.0
PORTREVISION=   1
DISTVERSIONPREFIX=  v
PORTEPOCH=  1
CATEGORIES?=    misc devel
PKGNAMESUFFIX=  3

MAINTAINER= danilo@FreeBSD.org
COMMENT=    Open-source binary diff, VCDIFF/RFC 3284 delta compression

LICENSE=    GPLv2+

USES=       autoreconf compiler:c++11-lang gmake

USE_GITHUB= yes
GH_ACCOUNT= jmacd
GH_PROJECT= xdelta

WRKSRC_SUBDIR=  xdelta3

GNU_CONFIGURE=  yes

PLIST_FILES=    bin/xdelta3 man/man1/xdelta3.1.gz

post-patch:
    @${REINPLACE_CMD} -e \
        '/_POSIX_/d ; \
         /_C99_/d' ${WRKSRC}/xdelta3.h

.include <bsd.port.mk>