Import of fl_editor-0.4
A word-wrapping text editor widget for FLTK. Supports CUA- style editing keys, automatic scrollbar, load and save to file or buffer, and more.
This commit is contained in:
parent
a1f28f3bd0
commit
a05cbeb69d
37
x11/fleditor/Makefile
Normal file
37
x11/fleditor/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/04/02 15:11:46 wilfried Exp $
|
||||
|
||||
COMMENT= 'Text Editor for FLTK'
|
||||
|
||||
DISTNAME= fl_editor-0.4
|
||||
PKGNAME= fleditor-0.4
|
||||
CATEGORIES= x11
|
||||
NEED_VERSION= 1.380
|
||||
|
||||
HOMEPAGE= http://www.robertk.com/source/
|
||||
|
||||
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://ftp.robertk.com/pub/Source/fl_editor/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libfltk.a::x11/fltk \
|
||||
${LOCALBASE}/lib/libflvw.a::x11/flvw
|
||||
|
||||
USE_X11= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
|
||||
post-patch:
|
||||
@rmdir ${WRKSRC}/obj
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKBUILD}/libfleditor.a ${PREFIX}/lib
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/include/FL
|
||||
${INSTALL_DATA} ${WRKSRC}/FL/*.[Hh] ${PREFIX}/include/FL
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/fleditor/files/md5
Normal file
3
x11/fleditor/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (fl_editor-0.4.tgz) = 56b06f1351c33f4f5a147cad22bfb68b
|
||||
RMD160 (fl_editor-0.4.tgz) = ff6b9889b834d00e3e76fcbbe01c3e6eef955086
|
||||
SHA1 (fl_editor-0.4.tgz) = de039593728a14115b8f07515884f6043d4eb581
|
67
x11/fleditor/patches/patch-Makefile_in
Normal file
67
x11/fleditor/patches/patch-Makefile_in
Normal file
@ -0,0 +1,67 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2001/04/02 15:11:46 wilfried Exp $
|
||||
--- Makefile.in.orig Wed Jan 10 00:11:24 2001
|
||||
+++ Makefile.in Mon Apr 2 17:05:28 2001
|
||||
@@ -29,9 +29,9 @@ FLTKLIBDIR = @ac_fltk_libraries@
|
||||
# Program options...
|
||||
#
|
||||
|
||||
-ARFLAGS = crvs
|
||||
-CFLAGS = -I. -I$(FLTKROOT) @CFLAGS@ @ac_fltk2@
|
||||
-CXXFLAGS = -I. -I$(FLTKROOT) @CXXFLAGS@ @ac_fltk2@
|
||||
+ARFLAGS = r
|
||||
+CFLAGS = -I. -I$(FLTKROOT)/include @CFLAGS@ @ac_fltk2@
|
||||
+CXXFLAGS = -I. -I$(FLTKROOT)/include @CXXFLAGS@ @ac_fltk2@
|
||||
LIBS = @ac_fltk_static@ -L$(FLTKROOT)/lib @LIBS@ -lXext -lX11 -lm @ac_fltk_dso@ $(GLLIB)
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
@@ -39,15 +39,15 @@ LDFLAGS = @LDFLAGS@
|
||||
# Rules...
|
||||
#
|
||||
|
||||
-.SILENT:
|
||||
-.SUFFIXES: .c .cxx .h .o
|
||||
+#.SILENT:
|
||||
+#.SUFFIXES: .c .cxx .h .o
|
||||
.c.o:
|
||||
- echo Compiling $<...
|
||||
- $(CC) $(CFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
|
||||
+# echo Compiling $<...
|
||||
+ $(CC) $(CFLAGS) -c $< -o $@
|
||||
.cxx.o:
|
||||
- echo Compiling $<...
|
||||
- echo $(CXX) $(CXXFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
|
||||
- $(CXX) $(CXXFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
|
||||
+# echo Compiling $<...
|
||||
+# echo $(CXX) $(CXXFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
|
||||
+ $(CXX) $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
|
||||
#
|
||||
@@ -62,7 +62,7 @@ INCLUDEDEPS = FL/Fl_Editor.H FL/Fl_Fancy
|
||||
# Make all targets...
|
||||
#
|
||||
|
||||
-all: libfleditor.a $(DSONAME) test
|
||||
+all: libfleditor.a $(DSONAME)
|
||||
|
||||
#
|
||||
# Remove object and target files...
|
||||
@@ -85,8 +85,7 @@ distclean: clean
|
||||
$(RM) config.status
|
||||
|
||||
install: libfleditor.a
|
||||
- echo "Installing library to $(FLTKLIBDIR)"
|
||||
- cp libfleditor.a $(FLTKLIBDIR)
|
||||
+ ${BSD_INSTALL_DATA} libfleditor.a $(PREFIX)/lib
|
||||
|
||||
#
|
||||
# Make the test programs.
|
||||
@@ -124,8 +123,6 @@ EDITOR_OBJS = src/Fl_Editor.o src/Fl_Fan
|
||||
src/editengine.o src/lists.o src/wstring.o
|
||||
|
||||
libfleditor.a: $(EDITOR_OBJS)
|
||||
- echo Building library $@...
|
||||
- $(RM) libfleditor.a
|
||||
$(AR) $(ARFLAGS) libfleditor.a $(EDITOR_OBJS)
|
||||
$(RANLIB) libfleditor.a
|
||||
|
12
x11/fleditor/patches/patch-configure
Normal file
12
x11/fleditor/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2001/04/02 15:11:46 wilfried Exp $
|
||||
--- configure.orig Wed Jan 10 00:11:24 2001
|
||||
+++ configure Mon Apr 2 15:57:59 2001
|
||||
@@ -998,7 +998,7 @@ else
|
||||
fi
|
||||
|
||||
|
||||
-LDFLAGS="$CXXFLAGS"
|
||||
+#LDFLAGS="$CXXFLAGS"
|
||||
|
||||
|
||||
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
12
x11/fleditor/patches/patch-configure_in
Normal file
12
x11/fleditor/patches/patch-configure_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure_in,v 1.1.1.1 2001/04/02 15:11:46 wilfried Exp $
|
||||
--- configure.in.orig Wed Jan 10 00:11:24 2001
|
||||
+++ configure.in Mon Apr 2 15:54:00 2001
|
||||
@@ -18,7 +18,7 @@ AC_PATH_PROG(AR,ar)
|
||||
AC_PATH_PROG(RM,rm)
|
||||
|
||||
dnl Check for libraries...
|
||||
-LDFLAGS="$CXXFLAGS"
|
||||
+#LDFLAGS="$CXXFLAGS"
|
||||
AC_SUBST(LDFLAGS)
|
||||
|
||||
AC_PATH_X
|
7
x11/fleditor/pkg/DESCR
Normal file
7
x11/fleditor/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
A word-wrapping text editor widget for FLTK. Supports CUA- style
|
||||
editing keys, automatic scrollbar, load and save to file or buffer,
|
||||
and more. Includes subclasses with status display, find and replace,
|
||||
etc. Also includes a couple of utility widgets -- a status panel,
|
||||
and a progress bar.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
13
x11/fleditor/pkg/PLIST
Normal file
13
x11/fleditor/pkg/PLIST
Normal file
@ -0,0 +1,13 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/04/02 15:11:46 wilfried Exp $
|
||||
include/FL/Fl_Editor.H
|
||||
include/FL/Fl_FancyEditor.H
|
||||
include/FL/Fl_FancyMultiEditor.H
|
||||
include/FL/Fl_MultiEditor.H
|
||||
include/FL/Fl_ProgressBox.H
|
||||
include/FL/Fl_StatusPanel.H
|
||||
include/FL/editengine.h
|
||||
include/FL/editvars.h
|
||||
include/FL/lists.h
|
||||
include/FL/stringsup.h
|
||||
include/FL/wstring.h
|
||||
lib/libfleditor.a
|
Loading…
Reference in New Issue
Block a user