aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-12-08 00:34:36 +0800
committergarga <garga@FreeBSD.org>2005-12-08 00:34:36 +0800
commitdd273b134dc78071f93a63d48f5949d12814eed7 (patch)
treef980fdb8864faa8246f9bc216bb53aecdf17f655 /sysutils
parent671fda3507698512795285933137ed512c131c0f (diff)
downloadfreebsd-ports-gnome-dd273b134dc78071f93a63d48f5949d12814eed7.tar.gz
freebsd-ports-gnome-dd273b134dc78071f93a63d48f5949d12814eed7.tar.zst
freebsd-ports-gnome-dd273b134dc78071f93a63d48f5949d12814eed7.zip
ghasher is a GUI tool to easily calculate the MD5 sum(or md2,md4,sha1,sha,
ripemd160,dss1) of a file. WWW: http://asgaard.homelinux.org/code/ghasher/ PR: ports/90056 Submitted by: Remington Lang <MrL0Lz@gmail.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/ghasher/Makefile32
-rw-r--r--sysutils/ghasher/distinfo3
-rw-r--r--sysutils/ghasher/files/patch-Makefile12
-rw-r--r--sysutils/ghasher/pkg-descr4
5 files changed, 52 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index a8b7229a90fd..cf5e0dbea66b 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -181,6 +181,7 @@
SUBDIR += gdesklets-multitail
SUBDIR += gdmap
SUBDIR += gfslicer
+ SUBDIR += ghasher
SUBDIR += gkfreq
SUBDIR += gkleds2
SUBDIR += gkrellfire
diff --git a/sysutils/ghasher/Makefile b/sysutils/ghasher/Makefile
new file mode 100644
index 000000000000..397c2fbe8b07
--- /dev/null
+++ b/sysutils/ghasher/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: ghasher
+# Date Created: 06 Dec 2005
+# Whom: Remington Lang <MrL0Lz@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ghasher
+PORTVERSION= 1.2.1
+CATEGORIES= sysutils gnome
+MASTER_SITES= http://asgaard.homelinux.org/code/ghasher/
+
+MAINTAINER= MrL0Lz@gmail.com
+COMMENT= GUI frontend to MD5 sum
+
+USE_X_PREFIX= yes
+USE_GNOME= gtk20 libglade2
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+PLIST_FILES= bin/ghasher
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ghasher ${PREFIX}/bin
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500040
+USE_GETOPT_LONG=yes
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/ghasher/distinfo b/sysutils/ghasher/distinfo
new file mode 100644
index 000000000000..c186a4c1eef2
--- /dev/null
+++ b/sysutils/ghasher/distinfo
@@ -0,0 +1,3 @@
+MD5 (ghasher-1.2.1.tar.gz) = 36edeaf03bd8827d2a96db86735532fb
+SHA256 (ghasher-1.2.1.tar.gz) = 795d18ecd0af6037239c07a8d12ccfaeda7d87aed07dc7d9168da471e3e24d5b
+SIZE (ghasher-1.2.1.tar.gz) = 11748
diff --git a/sysutils/ghasher/files/patch-Makefile b/sysutils/ghasher/files/patch-Makefile
new file mode 100644
index 000000000000..245b5b8d153e
--- /dev/null
+++ b/sysutils/ghasher/files/patch-Makefile
@@ -0,0 +1,12 @@
+--- Makefile.orig Tue Dec 6 18:03:46 2005
++++ Makefile Tue Dec 6 18:04:24 2005
+@@ -1,6 +1,7 @@
++all: ghasher
+ CFLAGS = -Wall -ggdb -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+-CFLAGS +=`pkg-config gtk+-2.0 libglade-2.0 --cflags`
+-LDFLAGS =`pkg-config gtk+-2.0 libglade-2.0 --libs` -lcrypto -Wl,-O2
++CFLAGS +=`pkg-config gtk+-2.0 libglade-2.0 gthread-2.0 --cflags`
++LDFLAGS +=`pkg-config gtk+-2.0 libglade-2.0 gthread-2.0 --libs` -lcrypto -Wl,-O2
+ OBJECTS = gui.o util.o list.o verify.o
+ BINDIR=/usr/bin
+ PIXMAPDIR=/usr/share/pixmaps
diff --git a/sysutils/ghasher/pkg-descr b/sysutils/ghasher/pkg-descr
new file mode 100644
index 000000000000..b07a3e4b4b82
--- /dev/null
+++ b/sysutils/ghasher/pkg-descr
@@ -0,0 +1,4 @@
+ghasher is a GUI tool to easily calculate the MD5 sum(or md2,md4,sha1,sha,
+ripemd160,dss1) of a file.
+
+WWW: http://asgaard.homelinux.org/code/ghasher/