diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-04-07 22:30:40 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-04-07 22:30:40 +0800 |
commit | e3607f3a70a6c257599820818feae1566b75fc44 (patch) | |
tree | 3118b2ef0b0a3cd1724af022cc30845abace4532 /x11-toolkits/flu | |
parent | 228caffda8ef64fe237ef3577dda96ace0bff446 (diff) | |
download | freebsd-ports-gnome-e3607f3a70a6c257599820818feae1566b75fc44.tar.gz freebsd-ports-gnome-e3607f3a70a6c257599820818feae1566b75fc44.tar.zst freebsd-ports-gnome-e3607f3a70a6c257599820818feae1566b75fc44.zip |
Re-add flu.
FLU is a library containing extra widgets for the FLTK windowing toolkit.
WWW: http://www.osc.edu/~jbryan/FLU/
Diffstat (limited to 'x11-toolkits/flu')
-rw-r--r-- | x11-toolkits/flu/Makefile | 39 | ||||
-rw-r--r-- | x11-toolkits/flu/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/flu/files/patch-FLU_Makefile | 16 | ||||
-rw-r--r-- | x11-toolkits/flu/files/patch-configure | 22 | ||||
-rw-r--r-- | x11-toolkits/flu/files/patch-src_Makefile | 24 | ||||
-rw-r--r-- | x11-toolkits/flu/pkg-descr | 6 | ||||
-rw-r--r-- | x11-toolkits/flu/pkg-plist | 57 |
7 files changed, 167 insertions, 0 deletions
diff --git a/x11-toolkits/flu/Makefile b/x11-toolkits/flu/Makefile new file mode 100644 index 000000000000..184996772267 --- /dev/null +++ b/x11-toolkits/flu/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: flu +# Date created: 07 Apr 2006 +# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= flu +PORTVERSION= 2.14 +CATEGORIES= x11-toolkits +MASTER_SITES= http://www.osc.edu/~jbryan/FLU/ +DISTNAME= FLU_${PORTVERSION} + +MAINTAINER= jylefort@FreeBSD.org +COMMENT= A library containing extra widgets for FLTK + +LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk + +USE_X_PREFIX= yes +USE_GL= yes +INSTALLS_SHLIB= yes +NO_FILTER_SHLIBS= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} --I=${X11BASE}/include --L=${X11BASE}/lib +USE_GMAKE= yes +PORTDOCS= * + +post-patch: + @${RM} -rf ${WRKSRC}/doc/CVS + +post-install: + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/flu/distinfo b/x11-toolkits/flu/distinfo new file mode 100644 index 000000000000..ee9c519b0afa --- /dev/null +++ b/x11-toolkits/flu/distinfo @@ -0,0 +1,3 @@ +MD5 (FLU_2.14.tar.gz) = 022967a8f0820f9781c428aa72a1a304 +SHA256 (FLU_2.14.tar.gz) = cbdf99637e28b2c749c9012c73a8cccd9977ce53eb896c2aab34f1b57d2d2060 +SIZE (FLU_2.14.tar.gz) = 632464 diff --git a/x11-toolkits/flu/files/patch-FLU_Makefile b/x11-toolkits/flu/files/patch-FLU_Makefile new file mode 100644 index 000000000000..b0260b24d614 --- /dev/null +++ b/x11-toolkits/flu/files/patch-FLU_Makefile @@ -0,0 +1,16 @@ +--- FLU/Makefile.orig Fri Apr 7 15:05:59 2006 ++++ FLU/Makefile Fri Apr 7 15:06:33 2006 +@@ -4,12 +4,8 @@ + + install: + @ echo "Installing include files in $(IPREFIX)..." +- @ mkdir -p $(IPREFIX) +- @ rm -rf $(IPREFIX)/FLU + @ mkdir -p $(IPREFIX)/FLU +- @ chmod 755 $(IPREFIX)/FLU +- @ cp *.h $(IPREFIX)/FLU +- @ chmod 644 $(IPREFIX)/FLU/*.h ++ @ $(BSD_INSTALL_DATA) *.h $(IPREFIX)/FLU + + uninstall: + @ echo "Uninstalling include files from $(IPREFIX)..." diff --git a/x11-toolkits/flu/files/patch-configure b/x11-toolkits/flu/files/patch-configure new file mode 100644 index 000000000000..69dacf7bcedb --- /dev/null +++ b/x11-toolkits/flu/files/patch-configure @@ -0,0 +1,22 @@ +--- configure.orig Tue Oct 26 17:09:51 2004 ++++ configure Fri Apr 7 15:17:23 2006 +@@ -387,8 +387,6 @@ + if test $ENABLE_DEBUG -eq 1 + then + CXXFLAGS=$CXXFLAGS" -g" +-else +- CXXFLAGS=$CXXFLAGS" -O2" + fi + + if test $OSX -eq 1 +@@ -543,9 +541,7 @@ + @ echo "=== installing FLU ===" + @ echo "Installing binaries in $(BPREFIX)..." + @ mkdir -p $(BPREFIX) +- @ rm -f $(BPREFIX)/flu-config +- @ cp flu-config $(BPREFIX) +- @ chmod 755 $(BPREFIX)/flu-config ++ @ $(BSD_INSTALL_SCRIPT) flu-config $(BPREFIX) + @for dir in FLU $(DIRS); do \ + (cd $$dir; $(MAKE) $(MFLAGS) install) || break;\ + done diff --git a/x11-toolkits/flu/files/patch-src_Makefile b/x11-toolkits/flu/files/patch-src_Makefile new file mode 100644 index 000000000000..cb7eec7d3aa5 --- /dev/null +++ b/x11-toolkits/flu/files/patch-src_Makefile @@ -0,0 +1,24 @@ +--- src/Makefile.orig Thu Sep 23 21:24:39 2004 ++++ src/Makefile Fri Apr 7 15:21:24 2006 +@@ -89,15 +89,15 @@ + install: $(LIBS) + @ echo "Installing libraries in $(LPREFIX)..." + @ mkdir -p $(LPREFIX) +- @ rm -f $(LPREFIX)/$(STATIC_LIB) $(LPREFIX)/$(GL_STATIC_LIB) $(LPREFIX)/$(SHARED_LINK) $(LPREFIX)/$(GL_SHARED_LINK) $(LPREFIX)/$(SHARED_LIB) $(LPREFIX)/$(GL_SHARED_LIB) + @ for file in $(LIBS); do \ +- cp $$file $(LPREFIX)/; \ +- chmod 755 $(LPREFIX)/$$file; \ +- if test $$file = $(SHARED_LIB); then \ ++ if [ $$file = $(SHARED_LIB) ]; then \ ++ $(BSD_INSTALL_PROGRAM) $$file $(LPREFIX); \ + ln -sf $(SHARED_LIB) $(LPREFIX)/$(SHARED_LINK); \ +- fi ; \ +- if test $$file = $(GL_SHARED_LIB); then \ ++ elif [ $$file = $(GL_SHARED_LIB) ]; then \ ++ $(BSD_INSTALL_PROGRAM) $$file $(LPREFIX); \ + ln -sf $(GL_SHARED_LIB) $(LPREFIX)/$(GL_SHARED_LINK); \ ++ else \ ++ $(BSD_INSTALL_DATA) $$file $(LPREFIX); \ + fi; \ + done + diff --git a/x11-toolkits/flu/pkg-descr b/x11-toolkits/flu/pkg-descr new file mode 100644 index 000000000000..2e7f1c3975c7 --- /dev/null +++ b/x11-toolkits/flu/pkg-descr @@ -0,0 +1,6 @@ +FLU is a library containing extra widgets for the FLTK windowing toolkit. + +WWW: http://www.osc.edu/~jbryan/FLU/ + +- Jean-Yves Lefort +jylefort@FreeBSD.org diff --git a/x11-toolkits/flu/pkg-plist b/x11-toolkits/flu/pkg-plist new file mode 100644 index 000000000000..93727c223ddd --- /dev/null +++ b/x11-toolkits/flu/pkg-plist @@ -0,0 +1,57 @@ +bin/flu-config +include/FLU/FluSimpleString.h +include/FLU/FluVectorClass.h +include/FLU/Flu_Button.h +include/FLU/Flu_Chat_Buffer.h +include/FLU/Flu_Choice_Group.h +include/FLU/Flu_Collapsable_Group.h +include/FLU/Flu_Combo_Box.h +include/FLU/Flu_Combo_List.h +include/FLU/Flu_Combo_Tree.h +include/FLU/Flu_DND.h +include/FLU/Flu_Dual_Progress_Meter.h +include/FLU/Flu_Dual_Slider.h +include/FLU/Flu_Enumerations.h +include/FLU/Flu_File_Chooser.h +include/FLU/Flu_Float_Input.h +include/FLU/Flu_GL_Canvas.h +include/FLU/Flu_GL_Window.h +include/FLU/Flu_Helpers.h +include/FLU/Flu_Int_Input.h +include/FLU/Flu_Label.h +include/FLU/Flu_Link_Button.h +include/FLU/Flu_Output.h +include/FLU/Flu_Progress.h +include/FLU/Flu_Progress_Meter.h +include/FLU/Flu_Return_Button.h +include/FLU/Flu_Separator.h +include/FLU/Flu_Simple_Group.h +include/FLU/Flu_Spinner.h +include/FLU/Flu_Toggle_Group.h +include/FLU/Flu_Tree_Browser.h +include/FLU/Flu_Wrap_Group.h +include/FLU/flu_export.h +include/FLU/flu_file_chooser_pixmaps.h +include/FLU/flu_pixmaps.h +lib/libflu.a +lib/libflu.so +lib/libflu.so.2.14 +lib/libflu_gl.a +lib/libflu_gl.so +lib/libflu_gl.so.2.14 +%%EXAMPLESDIR%%/Flu_Button_Try.cpp +%%EXAMPLESDIR%%/Flu_Chat_Buffer_Try.cpp +%%EXAMPLESDIR%%/Flu_Combo_Box_Try.cpp +%%EXAMPLESDIR%%/Flu_DND_Try.cpp +%%EXAMPLESDIR%%/Flu_Dual_Slider_Try.cpp +%%EXAMPLESDIR%%/Flu_File_Chooser_Try.cpp +%%EXAMPLESDIR%%/Flu_Group_Try.cpp +%%EXAMPLESDIR%%/Flu_Group_Try2.cpp +%%EXAMPLESDIR%%/Flu_Progress_Try.cpp +%%EXAMPLESDIR%%/Flu_Spinner_Try.cpp +%%EXAMPLESDIR%%/Flu_Tree_Browser_Try.cpp +%%EXAMPLESDIR%%/Flu_Tree_Browser_Try2.cpp +%%EXAMPLESDIR%%/Flu_Wrap_Group_Try.cpp +%%EXAMPLESDIR%%/undo_redo.cpp +@dirrm include/FLU +@dirrm %%EXAMPLESDIR%% |