aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xdelta3/Makefile
blob: 208234aa1403a7d9785d72602834d6bc6148c835 (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.0.11
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 gmake

USE_GITHUB= yes
GH_ACCOUNT= jmacd
GH_PROJECT= xdelta-devel

WRKSRC_SUBDIR=  xdelta3

GNU_CONFIGURE=  yes
USE_CXXSTD= gnu++98

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>