freebsd-ports/textproc/ssddiff/Makefile
Pav Lucistnik efa63f6ba4 - Remove USE_GCC where it can be satisfied with base compiler on following
FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
2008-07-25 14:34:52 +00:00

32 lines
822 B
Makefile

# New ports collection makefile for: SSDDiff
# Date created: 11 Apr 2006
# Whom: 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= automake:14
USE_BZIP2= yes
USE_GNOME= libxml2
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libxml2"
PLIST_FILES= bin/xmldiff
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>