pkgsrc/print/ghostscript-gpl/buildlink3.mk

33 lines
1,002 B
Makefile

# $NetBSD: buildlink3.mk,v 1.6 2014/06/18 09:26:11 wiz Exp $
BUILDLINK_TREE+= ghostscript-gpl
.if !defined(GHOSTSCRIPT_GPL_BUILDLINK3_MK)
GHOSTSCRIPT_GPL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ghostscript-gpl+= ghostscript-gpl>=8.63nb1
BUILDLINK_ABI_DEPENDS.ghostscript-gpl+= ghostscript-gpl>=9.05nb7
BUILDLINK_PKGSRCDIR.ghostscript-gpl?= ../../print/ghostscript-gpl
.include "../../graphics/png/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
pkgbase := ghostscript-gpl
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.ghostscript-gpl:Mcups)
.include "../../print/cups15/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ghostscript-gpl:Mfontconfig)
.include "../../fonts/fontconfig/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ghostscript-gpl:Mx11)
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.endif
.endif # GHOSTSCRIPT_GPL_BUILDLINK3_MK
BUILDLINK_TREE+= -ghostscript-gpl