aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ssddiff/Makefile
blob: e70eeb837fac885fcdf187e01268cb9a68f683c5 (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ssddiff
PORTVERSION=    0.2
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   http://alioth.debian.org/frs/download.php/1469/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A diff application for semistructured data such as XML files

USE_AUTOTOOLS=  automake14
USE_BZIP2=  yes
USES=       pkgconfig
USE_GNOME=  libxml2
MAKE_ARGS=  CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
        CPPFLAGS="-I${LOCALBASE}/include \
        -I${LOCALBASE}/include/libxml2"
PLIST_FILES=    bin/xmldiff

NO_STAGE=   yes
post-extract:
.for f in config.guess config.sub install-sh missing mkinstalldirs
    @${LN} -sf ${AUTOMAKE_DIR}/${f} ${WRKSRC}/${f}
.endfor
    @${REINPLACE_CMD} -e 's,"getopt\.h",<unistd.h>,' \
        ${WRKSRC}/src/main.cc

.include <bsd.port.mk>