2008-02-27 07:10:25 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.4 2008/02/27 06:10:25 jlam Exp $
|
2008-02-24 05:57:07 +01:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
|
|
PDCURSES_BUILDLINK3_MK:= ${PDCURSES_BUILDLINK3_MK}+
|
|
|
|
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
|
|
BUILDLINK_DEPENDS+= pdcurses
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npdcurses}
|
|
|
|
BUILDLINK_PACKAGES+= pdcurses
|
|
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pdcurses
|
|
|
|
|
|
|
|
.if !empty(PDCURSES_BUILDLINK3_MK:M+)
|
|
|
|
BUILDLINK_API_DEPENDS.pdcurses+= pdcurses>=3.3
|
|
|
|
BUILDLINK_PKGSRCDIR.pdcurses?= ../../devel/pdcurses
|
+ The termlib.buildlink3.mk file is meant to be included by packages
that need basic termlib functionality, i.e. tgetent(), tgoto(),
tputs(), etc. Together with the termlib.builtin.mk file, they will
use either a built-in termcap library, a built-in X/Open "enhanced"
curses library, or ncurses to provide these functions.
+ Add BUILDLINK_LIBNAME.* definitions to the various curses buildlink3.mk
and builtin.mk files that give the "base" library name of the curses
library, e.g. curses, ncurses, etc. These are used by the termlib
files to set BUILDLINK_LIBNAME.termlib.
2008-02-27 05:47:02 +01:00
|
|
|
BUILDLINK_LIBNAME.pdcurses= XCurses
|
2008-02-27 07:10:25 +01:00
|
|
|
BUILDLINK_LDADD.pdcurses?= ${BUILDLINK_LIBNAME.pdcurses:S/^/-l/}
|
2008-02-25 05:19:34 +01:00
|
|
|
|
|
|
|
# _PKG_USE_CURSES is defined by curses.buildlink3.mk to indicate that
|
|
|
|
# the headers and libraries should be usable as <curses.h> and -lcurses.
|
|
|
|
#
|
|
|
|
. if defined(_PKG_USE_CURSES)
|
|
|
|
BUILDLINK_INCDIRS.pdcurses+= include/xcurses
|
|
|
|
BUILDLINK_TRANSFORM+= l:curses:XCurses
|
|
|
|
. endif
|
|
|
|
|
2008-02-24 05:57:07 +01:00
|
|
|
.endif # PDCURSES_BUILDLINK3_MK
|
|
|
|
|
|
|
|
.include "../../mk/xaw.buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../x11/libICE/buildlink3.mk"
|
|
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
|
|
.include "../../x11/libXp/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|