1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Bless is a binary (hex) editor, a program that enables you to edit files as

a sequence of bytes. It is written in C# and uses the Gtk# bindings for the
GTK+ toolkit.

Main Features
-------------
  * Efficient editing of large data files.
  * Multilevel undo - redo operations.
  * Customizable data views.
  * Fast data rendering on screen.

WWW: http://home.gna.org/bless/

Project by:	BSD# - http://forge.novell.com/modules/xfmod/project/?bsd-sharp
This commit is contained in:
Jeremy Messenger 2004-11-26 06:20:11 +00:00
parent 06ea4d503d
commit 11c7f02903
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122482
7 changed files with 131 additions and 0 deletions

View File

@ -23,6 +23,7 @@
SUBDIR += bitmap
SUBDIR += bitmap-emacs20
SUBDIR += bitmap-mule
SUBDIR += bless
SUBDIR += boiling-egg
SUBDIR += bpatch
SUBDIR += bvi

40
editors/bless/Makefile Normal file
View File

@ -0,0 +1,40 @@
# New ports collection makefile for: bless
# Date created: 24 October 2004
# Whom: Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bless
PORTVERSION= 0.2.0
CATEGORIES= editors
MASTER_SITES= http://home.gna.org/bless/
MAINTAINER= bsd-sharp-list@forge.novell.com
COMMENT= A high quality, full featured hex editor
BUILD_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
DOCS= COPYING Changelog README
post-patch:
@${REINPLACE_CMD} -e 's|make|${GMAKE}|g' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|function pkg_config_check|pkg_config_check()|g' \
${WRKSRC}/configure
.ifndef (NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

2
editors/bless/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (bless-0.2.0.tar.gz) = f9e89bdc032c0a6ed4e9c989f4db3194
SIZE (bless-0.2.0.tar.gz) = 232405

View File

@ -0,0 +1,29 @@
--- src/Makefile.orig Wed Oct 27 13:21:26 2004
+++ src/Makefile Wed Oct 27 13:23:01 2004
@@ -44,16 +44,16 @@
-resource:gui/default.layout,default.layout
bless.exe: $(GUI_SRC) $(BB_SRC) $(GUI_DRAWERS_SRC) $(GUI_AREAS_SRC) $(GUI_DIALOGS_SRC) $(UTIL_SRC)
- $(MCS) -g -o bless.exe -t:exe -r:nunit.framework $(RESOURCES) -pkg:gtk-sharp -pkg:glade-sharp \
+ $(MCS) -g -o bless.exe -t:exe -r:nunit.framework $(RESOURCES) $(shell pkg-config --libs gtk-sharp glade-sharp) \
$(GUI_SRC) $(BB_SRC) $(GUI_DRAWERS_SRC) $(GUI_AREAS_SRC) $(GUI_DIALOGS_SRC) $(UTIL_SRC)
%.dll:%.cs
- $(MCS) -t:library -r:nunit.framework -pkg:gtk-sharp $<
+ $(MCS) -t:library -r:nunit.framework $(shell pkg-config --libs gtk-sharp) $<
install: bless.exe
install -c -d $(PREFIX)/lib/bless
- install -c bless.exe /usr/local/lib/bless
+ install -c bless.exe $(PREFIX)/lib/bless
echo "mono $(PREFIX)/lib/bless/bless.exe \"\$$@\"" > bless
install -c -d $(PREFIX)/bin
install -c bless $(PREFIX)/bin
@@ -63,4 +63,4 @@
rm -rf $(PREFIX)/lib/bless
rm $(PREFIX)/bin/bless
clean:
- rm -rf $(DLLS)
\ No newline at end of file
+ rm -rf $(DLLS)

View File

@ -0,0 +1,40 @@
--- src/gui/Makefile.orig Wed Oct 27 13:13:51 2004
+++ src/gui/Makefile Wed Oct 27 13:14:03 2004
@@ -5,7 +5,7 @@
DLLS= FontDrawer.dll
exe:
- $(MCS) -r:nunit.framework -pkg:gtk-sharp FontDrawer.cs
+ $(MCS) -r:nunit.framework $(shell pkg-config --libs gtk-sharp) FontDrawer.cs
test: fd-test oa-test
@@ -22,21 +22,21 @@
nunit-console DataView.dll
FontDrawer.dll: FontDrawer.cs
- $(MCS) -t:library -r:nunit.framework -pkg:gtk-sharp FontDrawer.cs
+ $(MCS) -t:library -r:nunit.framework $(shell pkg-config --libs gtk-sharp) FontDrawer.cs
OffsetArea.dll: OffsetArea.cs
- $(MCS) -t:library -r:nunit.framework -pkg:gtk-sharp OffsetArea.cs Area.cs FontDrawer.cs
+ $(MCS) -t:library -r:nunit.framework $(shell pkg-config --libs gtk-sharp) OffsetArea.cs Area.cs FontDrawer.cs
HexArea.dll: HexArea.cs
- $(MCS) -t:library -r:nunit.framework -pkg:gtk-sharp HexArea.cs Area.cs FontDrawer.cs
+ $(MCS) -t:library -r:nunit.framework $(shell pkg-config --libs gtk-sharp) HexArea.cs Area.cs FontDrawer.cs
DataView.dll: DataView.cs Area.cs HexArea.cs OffsetArea.cs SeparatorArea.cs AsciiArea.cs FontDrawer.cs
- $(MCS) -t:library -r:nunit.framework -pkg:gtk-sharp DataView.cs Area.cs HexArea.cs OffsetArea.cs SeparatorArea.cs AsciiArea.cs FontDrawer.cs
+ $(MCS) -t:library -r:nunit.framework $(shell pkg-config --libs gtk-sharp) DataView.cs Area.cs HexArea.cs OffsetArea.cs SeparatorArea.cs AsciiArea.cs FontDrawer.cs
%.dll:%.cs
- $(MCS) -t:library -r:nunit.framework -pkg:gtk-sharp $<
+ $(MCS) -t:library -r:nunit.framework $(shell pkg-config --libs gtk-sharp) $<
clean:
- rm -rf $(DLLS)
\ No newline at end of file
+ rm -rf $(DLLS)

12
editors/bless/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
Bless is a binary (hex) editor, a program that enables you to edit files as
a sequence of bytes. It is written in C# and uses the Gtk# bindings for the
GTK+ toolkit.
Main Features
-------------
* Efficient editing of large data files.
* Multilevel undo - redo operations.
* Customizable data views.
* Fast data rendering on screen.
WWW: http://home.gna.org/bless/

7
editors/bless/pkg-plist Normal file
View File

@ -0,0 +1,7 @@
bin/bless
lib/bless/bless.exe
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/Changelog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/bless