aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-02-24 17:59:33 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-02-24 17:59:33 +0000
commit88c340e1ed583ba3990e66b3226ae6ff35e26d36 (patch)
treebf54a4cfc4efb1d9dfe1ec4ef8b8940415bc62db /x11-toolkits
parent0e229de718bb84f100189f783a85cd16613ac593 (diff)
downloadports-88c340e1ed583ba3990e66b3226ae6ff35e26d36.tar.gz
ports-88c340e1ed583ba3990e66b3226ae6ff35e26d36.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/fl_editor/Makefile67
-rw-r--r--x11-toolkits/fl_editor/distinfo2
-rw-r--r--x11-toolkits/fl_editor/files/patch-FL-wstring.h11
-rw-r--r--x11-toolkits/fl_editor/files/patch-Makefile.in86
-rw-r--r--x11-toolkits/fl_editor/files/patch-fltk-Fl_Editor.h11
-rw-r--r--x11-toolkits/fl_editor/files/patch-fltk-wstring.h11
-rw-r--r--x11-toolkits/fl_editor/files/patch-src::Fl_ProgressBox.cxx11
-rw-r--r--x11-toolkits/fl_editor/pkg-descr7
-rw-r--r--x11-toolkits/fl_editor/pkg-plist47
10 files changed, 0 insertions, 254 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index a237519dceef..f916e0bd9bc6 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -12,7 +12,6 @@
SUBDIR += c++-gtk-utils
SUBDIR += eel
SUBDIR += elementary
- SUBDIR += fl_editor
SUBDIR += flowcanvas
SUBDIR += fltk
SUBDIR += fltk-devel
diff --git a/x11-toolkits/fl_editor/Makefile b/x11-toolkits/fl_editor/Makefile
deleted file mode 100644
index d1b1bbe95871..000000000000
--- a/x11-toolkits/fl_editor/Makefile
+++ /dev/null
@@ -1,67 +0,0 @@
-# Created by: Cyrille Lefevre <clefevre@citeweb.net>
-# $FreeBSD$
-
-PORTNAME= fl_editor
-PORTVERSION= 0.4.5
-PORTREVISION= 9
-CATEGORIES= x11-toolkits
-MASTER_SITES= http://source.robertk.com/fl_editor/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Text editor widgets for the Fast Light ToolKit
-
-LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
-
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
-CFLAGS+= ${PTHREAD_CFLAGS}
-CONFIGURE_ARGS= --enable-shared --with-fltk=${LOCALBASE}
-USE_GMAKE= yes
-USE_LDCONFIG= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
-PLIST_SUB= INCSDIR="${INCSDIR:S,^${PREFIX}/,,}" \
- LIBSDIR="${LIBSDIR:S,^${PREFIX}/,,}"
-REINPLACE_SUB= PREFIX=${PREFIX}
-
-INCSDIR= ${PREFIX}/include/FL
-LIBSDIR= ${PREFIX}/lib
-
-DOC_FILES= documentation/*.html documentation/*.jpg
-INC1_FILES= Fl_Editor.H Fl_FancyEditor.H Fl_FancyMultiEditor.H \
- Fl_MultiEditor.H Fl_ProgressBox.H Fl_StatusPanel.H
-INC2_FILES= editengine.h editvars.h lists.h stringsup.h wstring.h
-LIB_FILES= libfleditor.so.1
-
-post-patch: patch-inplace
-
-NO_STAGE= yes
-patch-inplace:
- @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${WRKSRC}/Makefile.in
-
-post-install: symlink-inc symlink-lib install-doc
-
-symlink-inc:
-.for file in ${INC1_FILES}
- @${LN} -fs ${file} ${INCSDIR}/${file:R}.${file:E:L}
-.endfor
-.for file in ${INC2_FILES}
- @${LN} -fs ${file} ${INCSDIR}/${file:R}.${file:E:U}
-.endfor
-
-symlink-lib:
-.for file in ${LIB_FILES}
- @${LN} -fs ${file} ${LIBSDIR}/${file:R}
-.endfor
-
-install-doc:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/x11-toolkits/fl_editor/distinfo b/x11-toolkits/fl_editor/distinfo
deleted file mode 100644
index 1b109ad9098c..000000000000
--- a/x11-toolkits/fl_editor/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (fl_editor-0.4.5.tgz) = ea5cc89bea8093fc43438f4ff96c78bc070ed599d05f89e7aba935a2bdb7c730
-SIZE (fl_editor-0.4.5.tgz) = 156033
diff --git a/x11-toolkits/fl_editor/files/patch-FL-wstring.h b/x11-toolkits/fl_editor/files/patch-FL-wstring.h
deleted file mode 100644
index 10137d494153..000000000000
--- a/x11-toolkits/fl_editor/files/patch-FL-wstring.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- FL/wstring.h.orig Thu Dec 21 16:56:48 2006
-+++ FL/wstring.h Thu Dec 21 16:57:03 2006
-@@ -88,7 +88,7 @@
- long operator>(const char *str) const { return (strcmp(buffer,str) > 0); };
- long operator==(const char *str) const { return (strcmp(buffer,str) == 0); };
- wString& operator=(const char *str) { SSet(str); return (*this); };
-- RCLDLL wString& wString::operator=(const wString& str) { SSet(str.buffer); return (*this); }
-+ RCLDLL wString& operator=(const wString& str) { SSet(str.buffer); return (*this); }
- wString& operator=(const unsigned char *str) { SSet((const char *)str); return *this; };
- operator const char *() const { return Get(); };
- wString& ToUpper() { strupr(buffer); return *this; };
diff --git a/x11-toolkits/fl_editor/files/patch-Makefile.in b/x11-toolkits/fl_editor/files/patch-Makefile.in
deleted file mode 100644
index 96b192280c4d..000000000000
--- a/x11-toolkits/fl_editor/files/patch-Makefile.in
+++ /dev/null
@@ -1,86 +0,0 @@
---- Makefile.in.orig Fri Jun 14 23:12:25 2002
-+++ Makefile.in Wed Mar 10 02:08:47 2004
-@@ -23,7 +23,10 @@
- DSONAME = @DSOLIBNAME@@DSOEXT@
- GLLIB = @GLLIB@
- FLTKROOT = @ac_fltk_root@
--FLTKLIBDIR = @ac_fltk_libraries@
-+FLTKLIBDIR = %%PREFIX%%/lib
-+FLTKINCDIR = %%PREFIX%%/include/FL
-+MKDIR = mkdir -p
-+INSTALL_DATA = ${BSD_INSTALL_DATA}
-
- #
- # Program options...
-@@ -40,14 +43,19 @@
- #
-
- .SILENT:
--.SUFFIXES: .c .cxx .h .o
-+.SUFFIXES: .c .cxx .h .o .lo
- .c.o:
- echo Compiling $<...
- $(CC) $(CFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
- .cxx.o:
- echo Compiling $<...
-- echo $(CXX) $(CXXFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
- $(CXX) $(CXXFLAGS) -c $< -o $(<D)/$(basename $(<F)).o
-+.c.lo:
-+ echo Compiling $<...
-+ $(CC) $(CFLAGS) -fPIC -c $< -o $(<D)/$(basename $(<F)).lo
-+.cxx.lo:
-+ echo Compiling $<...
-+ $(CXX) $(CXXFLAGS) -fPIC -c $< -o $(<D)/$(basename $(<F)).lo
-
-
- #
-@@ -62,7 +70,7 @@
- # Make all targets...
- #
-
--all: libfleditor.a $(DSONAME) test
-+all: libfleditor.a $(DSONAME)
-
- #
- # Remove object and target files...
-@@ -86,7 +94,11 @@
-
- install: libfleditor.a
- echo "Installing library to $(FLTKLIBDIR)"
-- cp libfleditor.a $(FLTKLIBDIR)
-+ ${RM} -f $(FLTKLIBDIR)/libfleditor.*
-+ ${INSTALL_DATA} libfleditor.a $(DSONAME) $(FLTKLIBDIR)
-+ echo "Installing headers to $(FLTKINCDIR)"
-+ ${MKDIR} -p $(FLTKINCDIR)
-+ ${INSTALL_DATA} FL/*.[Hh] $(FLTKINCDIR)
-
- #
- # Make the test programs.
-@@ -122,6 +134,7 @@
- EDITOR_OBJS = src/Fl_Editor.o src/Fl_FancyEditor.o src/Fl_FancyMultiEditor.o \
- src/Fl_MultiEditor.o src/Fl_ProgressBox.o src/Fl_StatusPanel.o \
- src/editengine.o src/lists.o src/wstring.o
-+EDITOR_SHOBJS = $(EDITOR_OBJS:.o=.lo)
-
- libfleditor.a: $(EDITOR_OBJS)
- echo Building library $@...
-@@ -129,15 +142,14 @@
- $(AR) $(ARFLAGS) libfleditor.a $(EDITOR_OBJS)
- $(RANLIB) libfleditor.a
-
--libfleditor.so: $(EDITOR_OBJS)
-+$(DSONAME): $(EDITOR_SHOBJS)
- echo Building library $@...
-- $(RM) libfleditor.so
-- @DSOCOMMAND@ @DSOLIBNAME@@DSOEXT@ $(EDITOR_OBJS)
--# echo $(DSOCOMMAND) $(DSONAME)
--# $(LD) -shared $(LDFLAGS) -o $@ $^
-+ $(RM) $(DSONAME)
-+ @DSOCOMMAND@ $(DSONAME) $(EDITOR_SHOBJS)
-
-
- $(EDITOR_OBJS): $(INCLUDEDEPS)
-+$(EDITOR_SHOBJS): $(INCLUDEDEPS)
-
- #
- # End of Makefile.
diff --git a/x11-toolkits/fl_editor/files/patch-fltk-Fl_Editor.h b/x11-toolkits/fl_editor/files/patch-fltk-Fl_Editor.h
deleted file mode 100644
index cca3a5444c79..000000000000
--- a/x11-toolkits/fl_editor/files/patch-fltk-Fl_Editor.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- fltk/Fl_Editor.h.orig Thu Dec 21 16:37:24 2006
-+++ fltk/Fl_Editor.h Thu Dec 21 16:55:36 2006
-@@ -186,7 +186,7 @@
- FL_API long FindRow(short screenY);
- FL_API void HandleScroll();
- FL_API void Cut();
-- static FL_API void Fl_Editor::draw_clip(void *v, int X, int Y, int W, int H);
-+ static FL_API void draw_clip(void *v, int X, int Y, int W, int H);
- FL_API void resize(int x, int y, int w, int h);
- #if (FL_MAJOR_VERSION > 1)
- void layout(){ Fl_Group::layout(); resize(x(), y(),w(), h()); redraw(); }
diff --git a/x11-toolkits/fl_editor/files/patch-fltk-wstring.h b/x11-toolkits/fl_editor/files/patch-fltk-wstring.h
deleted file mode 100644
index 9a7de7d66410..000000000000
--- a/x11-toolkits/fl_editor/files/patch-fltk-wstring.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- fltk/wstring.h.orig Thu Dec 21 17:03:29 2006
-+++ fltk/wstring.h Thu Dec 21 17:03:41 2006
-@@ -88,7 +88,7 @@
- long operator>(const char *str) const { return (strcmp(buffer,str) > 0); };
- long operator==(const char *str) const { return (strcmp(buffer,str) == 0); };
- wString& operator=(const char *str) { SSet(str); return (*this); };
-- RCLDLL wString& wString::operator=(const wString& str) { SSet(str.buffer); return (*this); }
-+ RCLDLL wString& operator=(const wString& str) { SSet(str.buffer); return (*this); }
- wString& operator=(const unsigned char *str) { SSet((const char *)str); return *this; };
- operator const char *() const { return Get(); };
- wString& ToUpper() { strupr(buffer); return *this; };
diff --git a/x11-toolkits/fl_editor/files/patch-src::Fl_ProgressBox.cxx b/x11-toolkits/fl_editor/files/patch-src::Fl_ProgressBox.cxx
deleted file mode 100644
index d03be684634a..000000000000
--- a/x11-toolkits/fl_editor/files/patch-src::Fl_ProgressBox.cxx
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Fl_ProgressBox.cxx.orig Wed Jun 19 17:51:02 2002
-+++ src/Fl_ProgressBox.cxx Wed Mar 10 07:58:26 2004
-@@ -47,7 +47,7 @@
- fl_draw(buffer, (w() - fl_width(buffer))/2, fl_height() + (((h() - 2*bdy) - fl_height())/2));
- #else
- fl_font(this->labelfont(), this->labelsize());
-- fl_draw(buffer, x() + (w() - fl_width(buffer))/2, y() + fl_height() + (((h() - 2*bdy) - fl_height())/2));
-+ fl_draw(buffer, int(x() + (w() - fl_width(buffer))/2), int(y() + fl_height() + (((h() - 2*bdy) - fl_height())/2)));
- #endif
- }
- }
diff --git a/x11-toolkits/fl_editor/pkg-descr b/x11-toolkits/fl_editor/pkg-descr
deleted file mode 100644
index 86567ede3cea..000000000000
--- a/x11-toolkits/fl_editor/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-A word-wrapping text editor widget for FLTK (Fast Light ToolKit).
-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: http://source.robertk.com/
diff --git a/x11-toolkits/fl_editor/pkg-plist b/x11-toolkits/fl_editor/pkg-plist
deleted file mode 100644
index 7aeeb63dce71..000000000000
--- a/x11-toolkits/fl_editor/pkg-plist
+++ /dev/null
@@ -1,47 +0,0 @@
-%%INCSDIR%%/Fl_Editor.H
-@exec ln -fs %f %B/Fl_Editor.h
-@unexec rm -f %B/Fl_Editor.h
-%%INCSDIR%%/Fl_FancyEditor.H
-@exec ln -fs %f %B/Fl_FancyEditor.h
-@unexec rm -f %B/Fl_FancyEditor.h
-%%INCSDIR%%/Fl_FancyMultiEditor.H
-@exec ln -fs %f %B/Fl_FancyMultiEditor.h
-@unexec rm -f %B/Fl_FancyMultiEditor.h
-%%INCSDIR%%/Fl_MultiEditor.H
-@exec ln -fs %f %B/Fl_MultiEditor.h
-@unexec rm -f %B/Fl_MultiEditor.h
-%%INCSDIR%%/Fl_ProgressBox.H
-@exec ln -fs %f %B/Fl_ProgressBox.h
-@unexec rm -f %B/Fl_ProgressBox.h
-%%INCSDIR%%/Fl_StatusPanel.H
-@exec ln -fs %f %B/Fl_StatusPanel.h
-@unexec rm -f %B/Fl_StatusPanel.h
-%%INCSDIR%%/editengine.h
-@exec ln -fs %f %B/editengine.H
-@unexec rm -f %B/editengine.H
-%%INCSDIR%%/editvars.h
-@exec ln -fs %f %B/editvars.H
-@unexec rm -f %B/editvars.H
-%%INCSDIR%%/lists.h
-@exec ln -fs %f %B/lists.H
-@unexec rm -f %B/lists.H
-%%INCSDIR%%/stringsup.h
-@exec ln -fs %f %B/stringsup.H
-@unexec rm -f %B/stringsup.H
-%%INCSDIR%%/wstring.h
-@exec ln -fs %f %B/wstring.H
-@unexec rm -f %B/wstring.H
-%%LIBSDIR%%/libfleditor.a
-%%LIBSDIR%%/libfleditor.so.1
-@exec ln -fs %f %B/libfleditor.so
-@unexec rm -f %B/libfleditor.so
-%%PORTDOCS%%%%DOCSDIR%%/Fl_Editor.html
-%%PORTDOCS%%%%DOCSDIR%%/Fl_Editor.jpg
-%%PORTDOCS%%%%DOCSDIR%%/Fl_FancyEditor.html
-%%PORTDOCS%%%%DOCSDIR%%/Fl_FancyEditor.jpg
-%%PORTDOCS%%%%DOCSDIR%%/Fl_FancyMultiEditor.html
-%%PORTDOCS%%%%DOCSDIR%%/Fl_MultiEditor.html
-%%PORTDOCS%%%%DOCSDIR%%/Fl_StatusPanel.html
-%%PORTDOCS%%%%DOCSDIR%%/Fl_StatusPanel.jpg
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%