summaryrefslogtreecommitdiff
path: root/devel/pdcurses/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam>2008-02-24 04:57:07 +0000
committerjlam <jlam>2008-02-24 04:57:07 +0000
commit11b9d61a5e68212ac288ad83b73588f1517d7d8c (patch)
tree066af0bec07f43db81470b4d8a6f7fd72e692349 /devel/pdcurses/buildlink3.mk
parent2cd529108af1a26cf917fec3b6c1827b3257e62c (diff)
downloadpkgsrc-11b9d61a5e68212ac288ad83b73588f1517d7d8c.tar.gz
Import pdcurses-3.3 as devel/pdcurses.
PDCurses is a public domain curses library that implements most of the functions available in X/Open and System V R4 curses. This X11 port allows for recompiling programs using text-mode curses to produce native X11 applications. This package was originally created by <bjs> in pkgsrc-wip and with several modifications by me to update to the latest version of PDCurses and to be more buildlink-correct.
Diffstat (limited to 'devel/pdcurses/buildlink3.mk')
-rw-r--r--devel/pdcurses/buildlink3.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/pdcurses/buildlink3.mk b/devel/pdcurses/buildlink3.mk
new file mode 100644
index 00000000000..d7765d61118
--- /dev/null
+++ b/devel/pdcurses/buildlink3.mk
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/24 04:57:07 jlam Exp $
+
+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
+.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/+$//}