diff --git a/x11/fleditor/Makefile b/x11/fleditor/Makefile new file mode 100644 index 00000000000..805cc19695b --- /dev/null +++ b/x11/fleditor/Makefile @@ -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 + +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 diff --git a/x11/fleditor/files/md5 b/x11/fleditor/files/md5 new file mode 100644 index 00000000000..e576789c4a3 --- /dev/null +++ b/x11/fleditor/files/md5 @@ -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 diff --git a/x11/fleditor/patches/patch-Makefile_in b/x11/fleditor/patches/patch-Makefile_in new file mode 100644 index 00000000000..328ed8f920e --- /dev/null +++ b/x11/fleditor/patches/patch-Makefile_in @@ -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 $(&6 diff --git a/x11/fleditor/patches/patch-configure_in b/x11/fleditor/patches/patch-configure_in new file mode 100644 index 00000000000..97b4602ff33 --- /dev/null +++ b/x11/fleditor/patches/patch-configure_in @@ -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 diff --git a/x11/fleditor/pkg/DESCR b/x11/fleditor/pkg/DESCR new file mode 100644 index 00000000000..b433d3429d2 --- /dev/null +++ b/x11/fleditor/pkg/DESCR @@ -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} diff --git a/x11/fleditor/pkg/PLIST b/x11/fleditor/pkg/PLIST new file mode 100644 index 00000000000..a70e49bcb22 --- /dev/null +++ b/x11/fleditor/pkg/PLIST @@ -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