[BACK]Return to buildlink3.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / pdcurses

File: [cvs.NetBSD.org] / pkgsrc / devel / pdcurses / buildlink3.mk (download)

Revision 1.8, Sun Jan 7 13:04:09 2018 UTC (6 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.7: +5 -5 lines

Fix indentation in buildlink3.mk files.

The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.

# $NetBSD: buildlink3.mk,v 1.8 2018/01/07 13:04:09 rillig Exp $

BUILDLINK_TREE+=	pdcurses

.if !defined(PDCURSES_BUILDLINK3_MK)
PDCURSES_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.pdcurses+=	pdcurses>=3.3
BUILDLINK_ABI_DEPENDS.pdcurses?=	pdcurses>=3.3nb2
BUILDLINK_PKGSRCDIR.pdcurses?=		../../devel/pdcurses

BUILDLINK_LIBNAME.pdcurses=	XCurses
BUILDLINK_LDADD.pdcurses?=	${BUILDLINK_LIBNAME.pdcurses:S/^/-l/:S/^-l$//}

# _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

.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"
.endif # PDCURSES_BUILDLINK3_MK

BUILDLINK_TREE+=	-pdcurses