summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 15:17:38 +0800
committeradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 15:17:38 +0800
commit64f46874662bd9bdd164f48e094d4bb09a96fea7 (patch)
tree34a4ef6d430109b93cb213e0f9bc347a518bfee3
parentf8c5d4acaeef50cbf08a1616897237c87c55f851 (diff)
downloadmarcuscom-ports-64f46874662bd9bdd164f48e094d4bb09a96fea7.tar
marcuscom-ports-64f46874662bd9bdd164f48e094d4bb09a96fea7.tar.gz
marcuscom-ports-64f46874662bd9bdd164f48e094d4bb09a96fea7.tar.bz2
marcuscom-ports-64f46874662bd9bdd164f48e094d4bb09a96fea7.tar.lz
marcuscom-ports-64f46874662bd9bdd164f48e094d4bb09a96fea7.tar.xz
marcuscom-ports-64f46874662bd9bdd164f48e094d4bb09a96fea7.tar.zst
marcuscom-ports-64f46874662bd9bdd164f48e094d4bb09a96fea7.zip
Add ghex2, using ghex2-2.3.0.
Now with shared libs... for some reason. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@596 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--editors/ghex2/Makefile38
-rw-r--r--editors/ghex2/distinfo1
-rw-r--r--editors/ghex2/files/patch-aa6
-rw-r--r--editors/ghex2/files/patch-configure10
-rw-r--r--editors/ghex2/pkg-descr9
-rw-r--r--editors/ghex2/pkg-plist96
6 files changed, 160 insertions, 0 deletions
diff --git a/editors/ghex2/Makefile b/editors/ghex2/Makefile
new file mode 100644
index 000000000..cc743e0aa
--- /dev/null
+++ b/editors/ghex2/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: ghex2
+# Date created: 15 September 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/editors/ghex2/Makefile,v 1.20 2003/03/07 06:00:28 ade Exp $
+#
+
+PORTNAME= ghex2
+PORTVERSION= 2.3.0
+CATEGORIES= editors gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.3
+DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME 2 hex editor
+
+LIB_DEPENDS= gailutil.17:${PORTSDIR}/x11-toolkits/gail \
+ gnomeprintui-2-2.0:${PORTSDIR}/x11-toolkits/libgnomeprintui \
+ gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack
+USE_LIBTOOL= yes
+USE_REINPLACE= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/editors/ghex2/distinfo b/editors/ghex2/distinfo
new file mode 100644
index 000000000..637c5db7e
--- /dev/null
+++ b/editors/ghex2/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/ghex-2.3.0.tar.bz2) = 3336add8b5ee6c95ab851053f4b668c8
diff --git a/editors/ghex2/files/patch-aa b/editors/ghex2/files/patch-aa
new file mode 100644
index 000000000..cf9e15052
--- /dev/null
+++ b/editors/ghex2/files/patch-aa
@@ -0,0 +1,6 @@
+--- app-docs.make.orig Sun Mar 4 04:18:34 2001
++++ app-docs.make Sat Apr 14 08:55:37 2001
+@@ -1,2 +1,2 @@
+-helpdir = $(datadir)/gnome/help/$(app)/$(lang)
++helpdir = $(datadir)/help/$(app)/$(lang)
+ help_DATA = \
diff --git a/editors/ghex2/files/patch-configure b/editors/ghex2/files/patch-configure
new file mode 100644
index 000000000..ba2d98273
--- /dev/null
+++ b/editors/ghex2/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Sat Apr 12 00:04:35 2003
++++ configure Sat Apr 12 00:05:32 2003
+@@ -5218,6 +5218,7 @@
+ # which needs '.lib').
+ libext=a
+ ltmain="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ ofile="$default_ofile"
+ with_gnu_ld="$lt_cv_prog_gnu_ld"
+ need_locks="$enable_libtool_lock"
diff --git a/editors/ghex2/pkg-descr b/editors/ghex2/pkg-descr
new file mode 100644
index 000000000..355aa25e0
--- /dev/null
+++ b/editors/ghex2/pkg-descr
@@ -0,0 +1,9 @@
+GHEX is a simple binary editor, allowing the user to view
+and edit a binary file in both hex and ascii with multiple
+level undo/redo mechanism. It features find and replace
+functions and conversion between binary, octal, decimal
+and hexadecimal values, making use of an alternative,
+user-configurable MDI concept to allow the user to edit
+multiple documents with multiple views of each.
+
+WWW: http://www.gnome.org/
diff --git a/editors/ghex2/pkg-plist b/editors/ghex2/pkg-plist
new file mode 100644
index 000000000..ae5c47ce3
--- /dev/null
+++ b/editors/ghex2/pkg-plist
@@ -0,0 +1,96 @@
+bin/ghex2
+etc/gconf/gconf.xml.defaults/apps/ghex2/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/apps/ghex2/%gconf.xml
+etc/gconf/schemas/ghex2.schemas
+lib/libgtkhex.a
+lib/libgtkhex.la
+lib/libgtkhex.so
+lib/libgtkhex.so.0
+libdata/pkgconfig/gtkhex.pc
+share/gnome/applications/ghex.desktop
+share/gnome/gnome-2.0/ui/ghex-ui.xml
+share/gnome/help/ghex2/ja/authors.html
+share/gnome/help/ghex2/ja/ghex2.sgml
+share/gnome/help/ghex2/ja/ghexconversion.html
+share/gnome/help/ghex2/ja/ghexconverter.png
+share/gnome/help/ghex2/ja/ghexdisplaypref.png
+share/gnome/help/ghex2/ja/ghexediting.html
+share/gnome/help/ghex2/ja/ghexfind.png
+share/gnome/help/ghex2/ja/ghexfindreplace.html
+share/gnome/help/ghex2/ja/ghexfindreplace.png
+share/gnome/help/ghex2/ja/ghexfullwindow.png
+share/gnome/help/ghex2/ja/ghexmdiprefs.png
+share/gnome/help/ghex2/ja/ghexmenubar.png
+share/gnome/help/ghex2/ja/ghexmenues.html
+share/gnome/help/ghex2/ja/ghexprefedit.png
+share/gnome/help/ghex2/ja/ghexprintprefs.png
+share/gnome/help/ghex2/ja/index.html
+share/gnome/help/ghex2/ja/license.html
+share/gnome/help/ghex2/ja/prefs.html
+share/gnome/help/ghex2/ja/topic.dat
+share/gnome/help/ghex2/ja/usage.html
+share/gnome/help/ghex2/C/figures/ghex_window_empty.png
+share/gnome/help/ghex2/C/figures/ghex_window_open.png
+share/gnome/help/ghex2/C/ghex2.xml
+share/gnome/help/ghex2/C/legal.xml
+share/gnome/help/ghex2/C/topic.dat
+share/gnome/omf/ghex/ghex-C.omf
+@exec scrollkeeper-install -q %D/share/gnome/omf/ghex/ghex-C.omf 2>/dev/null || /usr/bin/true
+share/gnome/omf/ghex/ghex-ja.omf
+@exec scrollkeeper-install -q %D/share/gnome/omf/ghex/ghex-ja.omf 2>/dev/null || /usr/bin/true
+share/gnome/pixmaps/gnome-ghex.png
+include/gtkhex/accessiblegtkhex.h
+include/gtkhex/accessiblegtkhexfactory.h
+include/gtkhex/hex-document.h
+include/gtkhex/gtkhex.h
+share/locale/am/LC_MESSAGES/ghex-2.0.mo
+share/locale/az/LC_MESSAGES/ghex-2.0.mo
+share/locale/be/LC_MESSAGES/ghex-2.0.mo
+share/locale/bg/LC_MESSAGES/ghex-2.0.mo
+share/locale/ca/LC_MESSAGES/ghex-2.0.mo
+share/locale/cs/LC_MESSAGES/ghex-2.0.mo
+share/locale/da/LC_MESSAGES/ghex-2.0.mo
+share/locale/de/LC_MESSAGES/ghex-2.0.mo
+share/locale/el/LC_MESSAGES/ghex-2.0.mo
+share/locale/en_GB/LC_MESSAGES/ghex-2.0.mo
+share/locale/es/LC_MESSAGES/ghex-2.0.mo
+share/locale/et/LC_MESSAGES/ghex-2.0.mo
+share/locale/eu/LC_MESSAGES/ghex-2.0.mo
+share/locale/fi/LC_MESSAGES/ghex-2.0.mo
+share/locale/fr/LC_MESSAGES/ghex-2.0.mo
+share/locale/ga/LC_MESSAGES/ghex-2.0.mo
+share/locale/gl/LC_MESSAGES/ghex-2.0.mo
+share/locale/hr/LC_MESSAGES/ghex-2.0.mo
+share/locale/hu/LC_MESSAGES/ghex-2.0.mo
+share/locale/it/LC_MESSAGES/ghex-2.0.mo
+share/locale/ja/LC_MESSAGES/ghex-2.0.mo
+share/locale/ko/LC_MESSAGES/ghex-2.0.mo
+share/locale/ms/LC_MESSAGES/ghex-2.0.mo
+share/locale/nl/LC_MESSAGES/ghex-2.0.mo
+share/locale/nn/LC_MESSAGES/ghex-2.0.mo
+share/locale/no/LC_MESSAGES/ghex-2.0.mo
+share/locale/pl/LC_MESSAGES/ghex-2.0.mo
+share/locale/pt/LC_MESSAGES/ghex-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/ghex-2.0.mo
+share/locale/ro/LC_MESSAGES/ghex-2.0.mo
+share/locale/ru/LC_MESSAGES/ghex-2.0.mo
+share/locale/sk/LC_MESSAGES/ghex-2.0.mo
+share/locale/sl/LC_MESSAGES/ghex-2.0.mo
+share/locale/sv/LC_MESSAGES/ghex-2.0.mo
+share/locale/tr/LC_MESSAGES/ghex-2.0.mo
+share/locale/uk/LC_MESSAGES/ghex-2.0.mo
+share/locale/vi/LC_MESSAGES/ghex-2.0.mo
+share/locale/wa/LC_MESSAGES/ghex-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/ghex-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/ghex-2.0.mo
+@dirrm include/gtkhex
+@dirrm share/gnome/omf/ghex
+@dirrm share/gnome/help/ghex2/C/figures
+@dirrm share/gnome/help/ghex2/C
+@dirrm share/gnome/help/ghex2/ja/stylesheet-images
+@dirrm share/gnome/help/ghex2/ja
+@dirrm share/gnome/help/ghex2
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/ghex2
+@dirrm etc/gconf/gconf.xml.defaults/apps/ghex2
+@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/ghex/ghex-C.omf 2>/dev/null || /usr/bin/true
+@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/ghex/ghex-ja.omf 2>/dev/null || /usr/bin/true