landry cfc6cbbe06 Import kdiff3 0.9.95, req'd by marco@
KDiff3 is a program that:
  *  compares or merges two or three text input files or directories,
  *  shows the differences line by line and character by character (!),
  *  provides an automatic merge-facility
  *  supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.),
  *  Automatic merging of version control history

From MAINTAINER Lawrence Teo, after an initial port by marco@
ok sthen@
2011-08-19 07:12:11 +00:00

35 lines
788 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/08/19 07:12:11 landry Exp $
COMMENT = compares and merges multiple files or directories
CATEGORIES = devel x11/kde
HOMEPAGE = http://kdiff3.sourceforge.net/
DISTNAME = kdiff3-0.9.95
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=kdiff3/}
MODULES = x11/qt4
MAINTAINER = Lawrence Teo <lteo@devio.us>
# GPLv2
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
WANTLIB += QtGui c m pthread stdc++
LIB_DEPENDS = x11/qt4
SEPARATE_BUILD = simple
FAKE_FLAGS = INSTALL_ROOT=${WRKINST}
pre-configure:
@perl -pi -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/src-QT4/kdiff3.pro
do-configure:
cd ${WRKBUILD} && QTDIR=${WRKDIR}/bin qmake4 ${WRKSRC}/src-QT4/kdiff3.pro #CONFIG+=debug
.include <bsd.port.mk>