summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-09-14 00:38:09 +0000
committerjylefort <jylefort@FreeBSD.org>2005-09-14 00:38:09 +0000
commit497f1de982cce0c66dc36a1d1c393b4957731003 (patch)
treed265e50e4ebbd22090d4658c0aabe048db5f7fce
parent4fcd7ea0640058b55c202c7f537fb83f0c1459e2 (diff)
downloadFreeBSD-ports-497f1de982cce0c66dc36a1d1c393b4957731003.zip
FreeBSD-ports-497f1de982cce0c66dc36a1d1c393b4957731003.tar.gz
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>
-rw-r--r--textproc/Makefile1
-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
5 files changed, 62 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index b0da1b9..76d2d8a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -118,6 +118,7 @@
SUBDIR += fi-aspell
SUBDIR += filepp
SUBDIR += fist
+ SUBDIR += fldiff
SUBDIR += flip
SUBDIR += fo-aspell
SUBDIR += foiltex
diff --git a/textproc/fldiff/Makefile b/textproc/fldiff/Makefile
new file mode 100644
index 0000000..e2bbfd1
--- /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 0000000..8ac4e5d
--- /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 0000000..5730b80
--- /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 0000000..acbcf97
--- /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
OpenPOWER on IntegriCloud