freebsd-ports/textproc/ssddiff/Makefile
Dmitry Marakasov b9398223bd Convert LICENSE= "GPLxx # or later" to "GPLxx+"
Approved by:	portmgr blanket
2016-01-12 16:20:31 +00:00

36 lines
941 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= ssddiff
PORTVERSION= 0.2
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://alioth.debian.org/frs/download.php/1469/
MAINTAINER= ports@FreeBSD.org
COMMENT= Diff application for semistructured data such as XML files
BROKEN= unfetchable
LICENSE= GPLv2+
GNU_CONFIGURE= yes
USES= autoreconf pkgconfig tar:bzip2
USE_GNOME= libxml2
PLIST_FILES= bin/xmldiff
post-patch:
@${FIND} ${WRKSRC} -type l -delete
@${REINPLACE_CMD} -e \
's|^CXXFLAGS|AM_CPPFLAGS|' ${WRKSRC}/src/Makefile.am
@${REINPLACE_CMD} -e \
's|"getopt\.h"|<unistd.h>|' ${WRKSRC}/src/main.cc
@${REINPLACE_CMD} \
-e 's/hash</__gnu_cxx::&/' -e 's/hash<char/& const/' \
${WRKSRC}/src/doc.h ${WRKSRC}/src/out_common.cc \
${WRKSRC}/src/out_merged.cc ${WRKSRC}/src/out_xupdate.cc \
${WRKSRC}/src/out_xupdate.h ${WRKSRC}/src/ustring.cc \
${WRKSRC}/src/ustring.h
.include <bsd.port.mk>