summaryrefslogtreecommitdiff
path: root/textproc/fldiff
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-14 00:38:09 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-14 00:38:09 +0000
commit3a6da0f16797dae8b933c6ac55fcdcee16373927 (patch)
tree63fd0f6b6674bf7247292bdede3a996e51d22009 /textproc/fldiff
parentAdd signing-party. (diff)
Add fldiff.
Fldiff is a graphical diff program that shows the differences between two files/directories, or a file/directory and a CVS or Subversion repository. It is inspired by xdiff (Motif-based) and xxdiff (Qt-based), whose choice of GUI toolkit has hampered their portability to many of the systems I work with. WWW: http://www.easysw.com/~mike/fldiff/ PR: ports/86078 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Notes
Notes: svn path=/head/; revision=142661
Diffstat (limited to 'textproc/fldiff')
-rw-r--r--textproc/fldiff/Makefile45
-rw-r--r--textproc/fldiff/distinfo2
-rw-r--r--textproc/fldiff/pkg-descr10
-rw-r--r--textproc/fldiff/pkg-plist4
4 files changed, 61 insertions, 0 deletions
diff --git a/textproc/fldiff/Makefile b/textproc/fldiff/Makefile
new file mode 100644
index 000000000000..e2bbfd1336f9
--- /dev/null
+++ b/textproc/fldiff/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: fldiff
+# Date created: 13 Sep 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fldiff
+PORTVERSION= 1.0
+CATEGORIES= textproc
+MASTER_SITES= http://www.easysw.com/~mike/fldiff/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-source
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= A graphical diff program using FLTK
+
+LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
+
+GNU_CONFIGURE= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+MAN1= fldiff.1
+PORTDOCS= index.html fldiff.jpg
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|@OPTIM@||' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|=Development|=Application;Development;|' \
+ ${WRKSRC}/fldiff.desktop
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fldiff ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/fldiff.man ${MAN1PREFIX}/man/man1/fldiff.1
+ ${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/fldiff.desktop ${PREFIX}/share/applications
+ ${MKDIR} ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/fldiff.png ${PREFIX}/share/pixmaps
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/fldiff/distinfo b/textproc/fldiff/distinfo
new file mode 100644
index 000000000000..8ac4e5d8eae8
--- /dev/null
+++ b/textproc/fldiff/distinfo
@@ -0,0 +1,2 @@
+MD5 (fldiff-1.0-source.tar.gz) = f2e0a3753263b49eb08a7421f688abc9
+SIZE (fldiff-1.0-source.tar.gz) = 137131
diff --git a/textproc/fldiff/pkg-descr b/textproc/fldiff/pkg-descr
new file mode 100644
index 000000000000..5730b80a1b68
--- /dev/null
+++ b/textproc/fldiff/pkg-descr
@@ -0,0 +1,10 @@
+Fldiff is a graphical diff program that shows the differences between two
+files/directories, or a file/directory and a CVS or Subversion repository.
+
+It is inspired by xdiff (Motif-based) and xxdiff (Qt-based), whose choice of
+GUI toolkit has hampered their portability to many of the systems I work with.
+
+WWW: http://www.easysw.com/~mike/fldiff/
+
+- ehaupt
+ehaupt@critical.ch
diff --git a/textproc/fldiff/pkg-plist b/textproc/fldiff/pkg-plist
new file mode 100644
index 000000000000..acbcf97bd6e9
--- /dev/null
+++ b/textproc/fldiff/pkg-plist
@@ -0,0 +1,4 @@
+bin/fldiff
+share/applications/fldiff.desktop
+share/pixmaps/fldiff.png
+@unexec rmdir %D/share/applications 2>/dev/null || true