ports/126654: [NEW PORT]: x11-toolkits/slgtkdatabox: S-Lang binding for gtkdatabox
Alexey Shuvaev
shuvaev at physik.uni-wuerzburg.de
Tue Aug 19 10:10:02 UTC 2008
>Number: 126654
>Category: ports
>Synopsis: [NEW PORT]: x11-toolkits/slgtkdatabox: S-Lang binding for gtkdatabox
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 19 10:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Alexey Shuvaev
>Release: 8.0-CURRENT
>Organization:
University of Wuerzburg
>Environment:
FreeBSD wep4017.physik.uni-wuerzburg.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Aug 17 16:52:44 CEST 2008 root at wep4017.physik.uni-wuerzburg.de:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The slgtkdatabox package binds gtkdatabox, a gtk widget for data plotting,
to the S-Lang scripting language.
WWW: http://laurent.perez2.free.fr/comp/slang/modules/modules.html
NOTE TO COMMITTERS:
This port depends might RUN_DEPEND on devel/slglade,
which is not in ports tree yet (PR 126652).
Note that both ports install *.so files but they are loaded by slang
interpretator and not by ld.so. That means both ports DO NOT require
USE_LDCONFIG line.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# slgtkdatabox
# slgtkdatabox/Makefile
# slgtkdatabox/pkg-descr
# slgtkdatabox/pkg-plist
# slgtkdatabox/distinfo
#
echo c - slgtkdatabox
mkdir -p slgtkdatabox > /dev/null 2>&1
echo x - slgtkdatabox/Makefile
sed 's/^X//' >slgtkdatabox/Makefile << '1d3606baf5217fbbbe58691a81518ac2'
X# New ports collection makefile for: slgtkdatabox
X# Date created: 15 Aug 2008
X# Whom: Alexey Shuvaev <shuvaev at phyisik.uni-wuerzburg.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME= slgtkdatabox
XPORTVERSION= 0.3
XCATEGORIES= x11-toolkits
XMASTER_SITES= http://laurent.perez2.free.fr/comp/slang/modules/
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= shuvaev at physik.uni-wuerzburg.de
XCOMMENT= S-Lang binding for gtkdatabox
X
XLIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2 \
X gtkdatabox-0.9.0.0:${PORTSDIR}/x11-toolkits/gtkdatabox
XRUN_DEPENDS= imdisplay:${PORTSDIR}/x11-toolkits/slgtk
X
XOPTIONS= SLGLADE "Enable slglade support (run-time)" off
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_SLGLADE)
XRUN_DEPENDS+= ${LOCALBASE}share/slsh/local-packages/glade.sl:${PORTSDIR}/devel/slglade
XPLIST_SUB+= SLGLADE=""
X.else
XPLIST_SUB+= SLGLADE="@comment "
X.endif
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/Makefile
X
Xdo-install:
X ${INSTALL_DATA} ${WRKSRC}/gtkdatabox-module.so \
X ${PREFIX}/lib/slang/v2/modules
X ${INSTALL_DATA} ${WRKSRC}/gtkdatabox.sl \
X ${PREFIX}/share/slsh/local-packages
X.if !defined(NOPORTEXAMPLES)
X ${MKDIR} ${EXAMPLESDIR}
X ${INSTALL_SCRIPT} ${WRKSRC}/examples/??[a-mo-z]*.sl ${EXAMPLESDIR}
X.if !defined(WITHOUT_SLGLADE)
X ${INSTALL_DATA} ${WRKSRC}/examples/line_attributes.glade ${EXAMPLESDIR}
X ${INSTALL_SCRIPT} ${WRKSRC}/examples/line_attributes.sl ${EXAMPLESDIR}
X.endif
X.endif
X
X.include <bsd.port.post.mk>
1d3606baf5217fbbbe58691a81518ac2
echo x - slgtkdatabox/pkg-descr
sed 's/^X//' >slgtkdatabox/pkg-descr << 'f9605110ec88766dab9a309426475fcf'
XThe slgtkdatabox package binds gtkdatabox, a gtk widget for data plotting,
Xto the S-Lang scripting language.
X
XWWW: http://laurent.perez2.free.fr/comp/slang/modules/modules.html
f9605110ec88766dab9a309426475fcf
echo x - slgtkdatabox/pkg-plist
sed 's/^X//' >slgtkdatabox/pkg-plist << '69023d06289e804f748c24301c99c2db'
Xlib/slang/v2/modules/gtkdatabox-module.so
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basics.sl
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coords.sl
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grid.sl
X%%SLGLADE%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/line_attributes.glade
X%%SLGLADE%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/line_attributes.sl
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lissajous.sl
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logarithmic.sl
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/marker.sl
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rulers.sl
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/showhide.sl
Xshare/slsh/local-packages/gtkdatabox.sl
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
69023d06289e804f748c24301c99c2db
echo x - slgtkdatabox/distinfo
sed 's/^X//' >slgtkdatabox/distinfo << 'f9f0d354ec693d1237fe7b6a7fc44288'
XMD5 (slgtkdatabox-0.3.tgz) = 41ef6a4fbdc2543ba951f300ec028739
XSHA256 (slgtkdatabox-0.3.tgz) = 0246f6181771f56f6668469616803780b061b30ebeb12ce5f48b56ea8f79fa1b
XSIZE (slgtkdatabox-0.3.tgz) = 19540
f9f0d354ec693d1237fe7b6a7fc44288
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list