openbsd-ports/devel/kdiff3/Makefile
lteo 2ceebb941a Update to kdiff3 0.9.97. Notable changes:
* Memory usage optimized for comparison of large directories.
* In overview for two way diff show if only one side contains text.
* If text is selected in either input or output window use that in
  Find dialog.
* Command line option --cs doesn't change the config value permanently
  anymore.

Also remove unneeded flags from CXXFLAGS, sync WANTLIB, and update my
email address.

Thank you to brad@, espie@, and pascal@ for guidance on fixing
CXXFLAGS, and Amit Kulkarni for testing.

Tested on amd64 and i386.

OK brad@ sthen@
2012-10-02 01:54:47 +00:00

38 lines
879 B
Makefile

# $OpenBSD: Makefile,v 1.6 2012/10/02 01:54:47 lteo Exp $
COMMENT = compares and merges multiple files or directories
DISTNAME = kdiff3-0.9.97
CATEGORIES = devel x11/kde
HOMEPAGE = http://kdiff3.sourceforge.net/
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=kdiff3/}
MAINTAINER = Lawrence Teo <lteo@openbsd.org>
# GPLv2
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
WANTLIB = ICE QtGui SM X11 Xext Xi Xinerama Xrender
WANTLIB += c fontconfig freetype m pthread stdc++
MODULES = x11/qt4
SEPARATE_BUILD = Yes
MAKE_FLAGS = CXX="${CXX}" CXXFLAGS='${CXXFLAGS} -Wall -W $$(DEFINES)' \
LINK="${CXX}"
DESTDIRNAME = INSTALL_ROOT
pre-configure:
@${SUBST_CMD} ${WRKSRC}/src-QT4/kdiff3.pro
do-configure:
@cd ${WRKBUILD} && QTDIR=${WRKDIR}/bin qmake4 ${WRKSRC}/src-QT4/kdiff3.pro #CONFIG+=debug
.include <bsd.port.mk>