Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2001 04:45:02 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29860: New port: x11-toolkits/flvw (20000224)
Message-ID:  <200108190245.f7J2j2p51902@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         29860
>Category:       ports
>Synopsis:       New port: x11-toolkits/flvw (20000224)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 18 19:50:27 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
ACME
>Environment:

FreeBSD gits 4.3-STABLE FreeBSD 4.3-STABLE #28: Wed Jul 25 09:04:25 CEST 2001     root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM  i386

>Description:

	The FLVW (Fast Light Virtual Widgets) require the use of the FLTK
	(Fast Light ToolKit) library.  They are designed to handle large
	amounts of data.  As such they are definitely not the smallest of
	FLTK widgets, but they are designed to use memory conservatively.

	http://www.fltk.org/

	This port is required by the mysql-gui port.

>How-To-Repeat:

	n/a

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	flvw/pkg-comment
#	flvw/pkg-plist
#	flvw/distinfo
#	flvw/Makefile
#	flvw/pkg-descr
#	flvw/files/patch-src-Makefile
#	flvw/files/patch-makeinclude.in
#
echo x - flvw/pkg-comment
sed 's/^X//' >flvw/pkg-comment << 'END-of-flvw/pkg-comment'
XVirtual Widgets for the Fast Light ToolKit
END-of-flvw/pkg-comment
echo x - flvw/pkg-plist
sed 's/^X//' >flvw/pkg-plist << 'END-of-flvw/pkg-plist'
X@comment $FreeBSD$
Xinclude/FL/Flv_CStyle.H
X@exec ln -fs %f %B/Flv_CStyle.h
X@unexec rm -f %B/Flv_CStyle.h
Xinclude/FL/Flv_Data_Source.H
X@exec ln -fs %f %B/Flv_Data_Source.h
X@unexec rm -f %B/Flv_Data_Source.h
Xinclude/FL/Flv_List.H
X@exec ln -fs %f %B/Flv_List.h
X@unexec rm -f %B/Flv_List.h
Xinclude/FL/Flv_Style.H
X@exec ln -fs %f %B/Flv_Style.h
X@unexec rm -f %B/Flv_Style.h
Xinclude/FL/Flv_Table.H
X@exec ln -fs %f %B/Flv_Table.h
X@unexec rm -f %B/Flv_Table.h
Xinclude/FL/Flve_Check_Button.H
X@exec ln -fs %f %B/Flve_Check_Button.h
X@unexec rm -f %B/Flve_Check_Button.h
Xinclude/FL/Flve_Combo.H
X@exec ln -fs %f %B/Flve_Combo.h
X@unexec rm -f %B/Flve_Combo.h
Xinclude/FL/Flve_Input.H
X@exec ln -fs %f %B/Flve_Input.h
X@unexec rm -f %B/Flve_Input.h
Xlib/libflvw.a
Xlib/libflvw.so.1
X@exec ln -fs %f %B/libflvw.so
X@unexec rm -f %B/libflvw.so
X%%PORTDOCS%%share/doc/flvw/basics.html
X%%PORTDOCS%%share/doc/flvw/callbacks.html
X%%PORTDOCS%%share/doc/flvw/classref.html
X%%PORTDOCS%%share/doc/flvw/flv_ctable.html
X%%PORTDOCS%%share/doc/flvw/flv_list.html
X%%PORTDOCS%%share/doc/flvw/flv_style.html
X%%PORTDOCS%%share/doc/flvw/flv_style_list.html
X%%PORTDOCS%%share/doc/flvw/flv_table.html
X%%PORTDOCS%%share/doc/flvw/index.html
X%%PORTDOCS%%share/doc/flvw/intro.html
X%%PORTDOCS%%share/doc/flvw/scroll_bar.html
X%%PORTDOCS%%share/doc/flvw/stylebasics.html
X%%PORTDOCS%%share/doc/flvw/widget_features.html
END-of-flvw/pkg-plist
echo x - flvw/distinfo
sed 's/^X//' >flvw/distinfo << 'END-of-flvw/distinfo'
XMD5 (flvw-20000224.tgz) = 0412103fcb01ff2c0cdb699b37af385e
END-of-flvw/distinfo
echo x - flvw/Makefile
sed 's/^X//' >flvw/Makefile << 'END-of-flvw/Makefile'
X# New ports collection makefile for:   	flvw
X# Date created:				17 August 2001
X# Whom:                			Cyrille Lefevre <clefevre@citeweb.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	flvw
XPORTVERSION=	20000224
XCATEGORIES=	x11-toolkits
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	clefevre@citeweb.net
X
XLIB_DEPENDS=	fltk.1:${PORTSDIR}/x11-toolkits/fltk
X
XWRKSRC=		${WRKDIR}/${PORTNAME}/1.0
XUSE_X_PREFIX=	yes
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XMAKE_ARGS=	DIRS=src
X
XDOC_FILES=	documentation/html/*.html
XDOC_SUBDIR=	share/doc/${PKGBASE}
XINC_FILES=	Flv_CStyle.H Flv_Data_Source.H Flv_List.H Flv_Style.H \
X		Flv_Table.H Flve_Check_Button.H Flve_Combo.H Flve_Input.H
XINC_SUBDIR=	include/FL
X
Xpost-install: symlink-inc install-doc
X
Xsymlink-inc:
X.for file in ${INC_FILES}
X	@${LN} -fs ${file} ${PREFIX}/${INC_SUBDIR}/${file:R}.${file:E:L}
X.endfor
X
Xinstall-doc:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/${DOC_SUBDIR}
X.for file in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${DOC_SUBDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-flvw/Makefile
echo x - flvw/pkg-descr
sed 's/^X//' >flvw/pkg-descr << 'END-of-flvw/pkg-descr'
XThe FLVW (Fast Light Virtual Widgets) require the use of the FLTK
X(Fast Light ToolKit) library.  They are designed to handle large
Xamounts of data.  As such they are definitely not the smallest of
XFLTK widgets, but they are designed to use memory conservatively.
X
XWWW: http://www.fltk.org/
END-of-flvw/pkg-descr
echo x - flvw/files/patch-src-Makefile
sed 's/^X//' >flvw/files/patch-src-Makefile << 'END-of-flvw/files/patch-src-Makefile'
X--- src/Makefile.orig	Sat Jan 22 14:30:26 2000
X+++ src/Makefile	Sat Aug 18 09:09:18 2001
X@@ -13,7 +13,7 @@
X # Make all targets...
X #
X 
X-all:	libflvw.a
X+all:	../lib/libflvw.a ../lib/libflvw.so.1
X 
X #
X # Remove object and target files...
X@@ -24,31 +24,40 @@
X 	@$(RM) -f *.o core *~ ../FL/*~ ../FL/*.bak
X 
X distclean: clean
X-	@$(RM) -f ../lib/libflvw.a makedepend
X+	@$(RM) -f ../lib/libflvw.a ../lib/libflvw.so.1 makedepend
X 
X-install: libflvw.a
X+install: all
X 	@echo "Installing libraries..."
X 	@-mkdir -p $(libdir)
X-	@rm -f $(libdir)/$(LIBNAME)
X-	@-cp $(LIBRARY).a $(libdir)
X-	@-chmod 644 $(libdir)/$(LIBNAME).a
X-	@echo "Installing include files..."
X+	@rm -f $(libdir)/libflvw.a $(libdir)/libflvw.so*
X+	@-cp ../lib/libflvw.a ../lib/libflvw.so.1 $(libdir)
X+	@-ln -s libflvw.so.1 $(libdir)/libflvw.so
X+	@-chmod 644 $(libdir)/libflvw.a $(libdir)/libflvw.so.1
X+	@echo "Installing headers..."
X 	@-mkdir -p $(includedir)/FL
X-	@-cp -r ../FL/* $(includedir)/FL/
X+	@-cp ../FL/*.H $(includedir)/FL/
X 
X #
X # Make the flvw widget library.
X #
X 
X FLVW_OBJS	= Flv_Style.o     Flv_List.o    Flv_Table.o    Flv_CStyle.o    Flve_Input.o    Flve_Check_Button.o
X+FLVW_SHOBJS=	$(FLVW_OBJS:.o=.lo)
X FLVW_HDRS:	FL/Flv_Style.H FL/Flv_List.H FL/Flv_Table.H FL/Flv_CStyle.H FL/Flve_Input.H FL/Flve_Check_Button.H
X 
X-libflvw.a:	$(FLVW_OBJS) $(FLVW_HDRS)
X+../lib/libflvw.a:	$(FLVW_OBJS)
X 	@echo Building library $@...
X 	@$(RM) -f ../lib/libflvw.a
X 	@$(AR) $(ARFLAGS) ../lib/libflvw.a $(FLVW_OBJS)
X 	@$(RANLIB) ../lib/libflvw.a
X 
X+../lib/libflvw.so.1:	$(FLVW_SHOBJS)
X+	@echo Building library $@...
X+	@$(RM) -f ../lib/libflvw.so.1
X+	@$(CXX) $(CXXFLAGS) -shared -Wl,-soname,libflvw.so.1 -o ../lib/libflvw.so.1 $(FLVW_SHOBJS)
X+
X+$(FLVW_OBJS): $(FLVW_HDRS)
X+$(FLVW_SHOBJS): $(FLVW_HDRS)
X 
X #
X # End of Makefile.
END-of-flvw/files/patch-src-Makefile
echo x - flvw/files/patch-makeinclude.in
sed 's/^X//' >flvw/files/patch-makeinclude.in << 'END-of-flvw/files/patch-makeinclude.in'
X--- makeinclude.in.orig	Sat Jan 22 14:18:28 2000
X+++ makeinclude.in	Sat Aug 18 09:12:34 2001
X@@ -56,7 +56,7 @@
X # Rules...
X #
X 
X-.SUFFIXES:	.c .cxx .h .o
X+.SUFFIXES:	.c .cxx .h .o .lo
X 
X .c.o:
X 	@echo Compiling $<...
X@@ -65,6 +65,14 @@
X .cxx.o:
X 	@echo Compiling $<...
X 	@$(CXX) $(CXXFLAGS) -I. -c $<
X+
X+.c.lo:
X+	@echo Compiling $<...
X+	@$(CC) $(CFLAGS) -c -o $@ $<
X+
X+.cxx.lo:
X+	@echo Compiling $<...
X+	@$(CXX) $(CXXFLAGS) -I. -c -o $@ $<
X 
X #
X # End of makeinclude
END-of-flvw/files/patch-makeinclude.in
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108190245.f7J2j2p51902>