pkgsrc/devel/libslang2/buildlink3.mk
bjs cf752cac76 Import devel/libslang2 (version 2.1.3). This is the current
version, and packages should switch to it as they are deemed compatible.
blurb:

S-Lang is a C programmer's library that includes routines for the rapid
development of sophisticated, user friendly, multi-platform applications.

The S-Lang library includes the following:

 -	Low level tty input routines for reading single characters at a
	time, as well as low-level terminal-independent routines for
	manipulating the display of a terminal.

 - 	Keymap routines for defining keys and manipulating multiple
	keymaps.

 -	High level screen management routines for manipulating both
 	monochrome and color terminals.  These routines are very efficient.

 -	Routines for reading single line input with line editing and recall
	capabilities.

 -	Searching functions: both ordinary searches and regular expression
	searches.

 -	An embedded stack-based language interpreter with a C-like syntax.

 -	A malloc debugging package
2008-08-09 21:22:11 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/08/09 21:22:11 bjs Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSLANG2_BUILDLINK3_MK:= ${LIBSLANG2_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libslang2
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibslang2}
BUILDLINK_PACKAGES+= libslang2
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libslang2
.if ${LIBSLANG2_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libslang2+= libslang2>=2.1.3
BUILDLINK_PKGSRCDIR.libslang2?= ../../devel/libslang2
BUILDLINK_FNAME_TRANSFORM.libslang2+= -e 's|include/slang2/|include/|g'
BUILDLINK_TRANSFORM+= l:slang:slang2
pkgbase:= libslang2
. include "../../mk/pkg-build-options.mk"
.endif # LIBSLANG2_BUILDLINK3_MK
.if !empty(PKG_BUILD_OPTIONS.libslang2:Mpng)
. include "../../graphics/png/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.libslang2:Mpcre)
. include "../../devel/pcre/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.libslang2:Moniguruma)
. include "../../textproc/oniguruma/buildlink3.mk"
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}