diff options
Diffstat (limited to 'textproc/xxdiff')
-rw-r--r-- | textproc/xxdiff/Makefile | 45 | ||||
-rw-r--r-- | textproc/xxdiff/Makefile.master | 10 | ||||
-rw-r--r-- | textproc/xxdiff/distinfo | 3 | ||||
-rw-r--r-- | textproc/xxdiff/pkg-descr | 20 |
4 files changed, 78 insertions, 0 deletions
diff --git a/textproc/xxdiff/Makefile b/textproc/xxdiff/Makefile new file mode 100644 index 000000000000..762024a6dd6b --- /dev/null +++ b/textproc/xxdiff/Makefile @@ -0,0 +1,45 @@ +PORTNAME= xxdiff +CATEGORIES= textproc + +MAINTAINER= fuz@FreeBSD.org +COMMENT= Graphical file and directories comparator and merge tool +WWW= http://furius.ca/xxdiff/ + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +FLAVOR?= ${FLAVORS:[1]} +FLAVORS= qt5 qt6 +qt5_PKGNAMEPREFIX= qt5- +qt6_PKGNAMEPREFIX= qt6- + +USES= bison gl gmake +USE_GL= gl + +.if ${FLAVOR} == qt5 +USES+= qt:5 +USE_QT= core gui buildtools:build qmake:build widgets +.else +USES+= qt:6 +USE_QT= base +.endif + +BUILD_WRKSRC= ${WRKSRC}/src + +PLIST_FILES= bin/xxdiff +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +pre-build: + @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} QMAKE=${QMAKE} \ + ${MAKE_CMD} -f Makefile.bootstrap ${MAKE_ARGS} Makefile) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/xxdiff ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "${PORTDOCS} ! -name Makefile" \ + ${STAGEDIR}/${DOCSDIR} + +.include "Makefile.master" diff --git a/textproc/xxdiff/Makefile.master b/textproc/xxdiff/Makefile.master new file mode 100644 index 000000000000..a51495b3ffd3 --- /dev/null +++ b/textproc/xxdiff/Makefile.master @@ -0,0 +1,10 @@ +PORTVERSION= g20250320 +PORTEPOCH= 1 + +USE_GITHUB= yes +GH_ACCOUNT= blais +GH_TAGNAME= a5593c1c675fb79d0ec2b6e353abba1fb0179aa7 + +DESCR= ${.CURDIR}/pkg-descr + +.include <bsd.port.mk> diff --git a/textproc/xxdiff/distinfo b/textproc/xxdiff/distinfo new file mode 100644 index 000000000000..196a6b26ae08 --- /dev/null +++ b/textproc/xxdiff/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1751631586 +SHA256 (blais-xxdiff-g20250320-a5593c1c675fb79d0ec2b6e353abba1fb0179aa7_GH0.tar.gz) = 11ac99e758b8cccc8ced208a69d7026c32a7b2a5a1f18fcce48521f8cb4d8c9c +SIZE (blais-xxdiff-g20250320-a5593c1c675fb79d0ec2b6e353abba1fb0179aa7_GH0.tar.gz) = 2057252 diff --git a/textproc/xxdiff/pkg-descr b/textproc/xxdiff/pkg-descr new file mode 100644 index 000000000000..cf257c7da0d0 --- /dev/null +++ b/textproc/xxdiff/pkg-descr @@ -0,0 +1,20 @@ +xxdiff is a graphical tool for viewing the differences between two or three +files, or between two directories, and can produce a merged version thereof. + +Some of its features: + + - Comparing two files, three files, or two directories (shallow and + recursive) + - Horizontal diffs highlighting + - Files can be merged interactively and resulting output visualized + and saved + - Has features to assist in performing merge reviews/policing + - Can unmerge CVS conflicts in automatically merged file and display + them as two files, to help resolve conflicts + - Uses external diff program to compute differences: works with GNU + diff, SGI diff and ClearCase's cleardiff, and any other diff whose + output is similar to those + - Fully customizable with a resource file + - Look-and-feel similar to Rudy Wortel's/SGI xdiff; it is desktop + agnostic (i.e. will work equally well with KDE or GNOME) + - Features and output that ease integration with scripts |