freebsd-ports/devel/slglade/Makefile
Max Brazhnikov 060d51acb2 Lglade is a S-Lang module that provides S-Lang bindings
for the libglade library. Used in conjunction with SLgtk,
it allows you to design your GUI with Glade (a GTK+ user interface builder),
save the interface description in a Glade XML file,
and then generate your S-Lang script's graphical interface
directly from the XML at runtime. This should reduce the time spent
developing SLgtk applications considerably, as it eliminates
the tedious job of writing interface-creation code by hand.

This is an update for Christopher Stawarz's SLglade module.

WWW: http://laurent.perez2.free.fr/comp/slang/modules/modules.html

PR: 126652
Submitted by: Alexey Shuvaev
Approved by:	miwi (mentor)
2008-08-26 13:53:57 +00:00

37 lines
908 B
Makefile

# New ports collection makefile for: slglade
# Date created: 15 Aug 2008
# Whom: Alexey Shuvaev <shuvaev@phyisik.uni-wuerzburg.de>
#
# $FreeBSD$
#
PORTNAME= slglade
PORTVERSION= 0.3
CATEGORIES= devel
MASTER_SITES= http://laurent.perez2.free.fr/comp/slang/modules/
EXTRACT_SUFX= .tgz
MAINTAINER= shuvaev@physik.uni-wuerzburg.de
COMMENT= S-Lang binding for libglade
LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
RUN_DEPENDS= imdisplay:${PORTSDIR}/x11-toolkits/slgtk
USE_GNOME= libglade2
GNU_CONFIGURE= yes
post-patch:
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|doc/slglade|share/&|' ${WRKSRC}/doc/Makefile.in
.else
@${REINPLACE_CMD} -e 's/doc //' ${WRKSRC}/Makefile.in
.endif
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.sl ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.glade ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>