pkgsrc/x11/neXtaw/buildlink3.mk
2015-12-29 04:54:34 +00:00

31 lines
868 B
Makefile

# $NetBSD: buildlink3.mk,v 1.17 2015/12/29 04:54:39 dholland Exp $
BUILDLINK_TREE+= neXtaw
.if !defined(NEXTAW_BUILDLINK3_MK)
NEXTAW_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.neXtaw+= neXtaw>=0.15.1
BUILDLINK_ABI_DEPENDS.neXtaw+= neXtaw>=0.15.1nb2
BUILDLINK_PKGSRCDIR.neXtaw?= ../../x11/neXtaw
BUILDLINK_TRANSFORM+= l:Xaw:neXtaw
.include "../../mk/bsd.fast.prefs.mk"
.if ${X11_TYPE} == "modular"
.PHONY: buildlink-neXtaw-inc-hack
buildlink-neXtaw-cookie: buildlink-neXtaw-inc-hack
buildlink-neXtaw-inc-hack: buildlink-directories
[ ! -h ${BUILDLINK_DIR}/include/X11/Xaw ] && \
${MKDIR} ${BUILDLINK_DIR}/include/X11 && \
${LN} -s neXtaw ${BUILDLINK_DIR}/include/X11/Xaw
.endif
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.endif # NEXTAW_BUILDLINK3_MK
BUILDLINK_TREE+= -neXtaw