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

PR:		126654
Submitted by:	Alexey Shuvaev
Approved by:	miwi (mentor)
This commit is contained in:
Max Brazhnikov 2008-08-26 14:26:30 +00:00
parent 79e7ccd0fd
commit 460429aee4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219226
5 changed files with 70 additions and 0 deletions

View File

@ -248,6 +248,7 @@
SUBDIR += sdl_gui
SUBDIR += sdl_pango
SUBDIR += slgtk
SUBDIR += slgtkdatabox
SUBDIR += slingshot
SUBDIR += soqt
SUBDIR += swt

View File

@ -0,0 +1,49 @@
# New ports collection makefile for: slgtkdatabox
# Date created: 15 Aug 2008
# Whom: Alexey Shuvaev <shuvaev@phyisik.uni-wuerzburg.de>
#
# $FreeBSD$
#
PORTNAME= slgtkdatabox
PORTVERSION= 0.3
CATEGORIES= x11-toolkits
MASTER_SITES= http://laurent.perez2.free.fr/comp/slang/modules/
EXTRACT_SUFX= .tgz
MAINTAINER= shuvaev@physik.uni-wuerzburg.de
COMMENT= S-Lang binding for gtkdatabox
LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2 \
gtkdatabox-0.9.0.0:${PORTSDIR}/x11-toolkits/gtkdatabox
RUN_DEPENDS= imdisplay:${PORTSDIR}/x11-toolkits/slgtk
OPTIONS= SLGLADE "Enable slglade support (run-time)" off
.include <bsd.port.pre.mk>
.if defined(WITH_SLGLADE)
RUN_DEPENDS+= ${LOCALBASE}share/slsh/local-packages/glade.sl:${PORTSDIR}/devel/slglade
PLIST_SUB+= SLGLADE=""
.else
PLIST_SUB+= SLGLADE="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/Makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/gtkdatabox-module.so \
${PREFIX}/lib/slang/v2/modules
${INSTALL_DATA} ${WRKSRC}/gtkdatabox.sl \
${PREFIX}/share/slsh/local-packages
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/??[a-mo-z]*.sl ${EXAMPLESDIR}
.if defined(WITH_SLGLADE)
${INSTALL_DATA} ${WRKSRC}/examples/line_attributes.glade ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/line_attributes.sl ${EXAMPLESDIR}
.endif
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (slgtkdatabox-0.3.tgz) = 41ef6a4fbdc2543ba951f300ec028739
SHA256 (slgtkdatabox-0.3.tgz) = 0246f6181771f56f6668469616803780b061b30ebeb12ce5f48b56ea8f79fa1b
SIZE (slgtkdatabox-0.3.tgz) = 19540

View File

@ -0,0 +1,4 @@
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

View File

@ -0,0 +1,13 @@
lib/slang/v2/modules/gtkdatabox-module.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basics.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coords.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grid.sl
%%SLGLADE%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/line_attributes.glade
%%SLGLADE%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/line_attributes.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lissajous.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logarithmic.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/marker.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rulers.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/showhide.sl
share/slsh/local-packages/gtkdatabox.sl
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%