2009-03-20 20:23:50 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.6 2009/03/20 19:24:26 joerg Exp $
|
2008-02-24 05:57:07 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= pdcurses
|
2008-02-24 05:57:07 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(PDCURSES_BUILDLINK3_MK)
|
|
|
|
PDCURSES_BUILDLINK3_MK:=
|
2008-02-24 05:57:07 +01:00
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.pdcurses+= pdcurses>=3.3
|
|
|
|
BUILDLINK_PKGSRCDIR.pdcurses?= ../../devel/pdcurses
|
2008-02-27 22:32:45 +01:00
|
|
|
|
|
|
|
BUILDLINK_LIBNAME.pdcurses= XCurses
|
|
|
|
BUILDLINK_LDADD.pdcurses?= ${BUILDLINK_LIBNAME.pdcurses:S/^/-l/: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
|
|
|
.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"
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # PDCURSES_BUILDLINK3_MK
|
2008-02-24 05:57:07 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -pdcurses
|