diff options
author | jlam <jlam> | 2001-06-23 19:24:20 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-23 19:24:20 +0000 |
commit | a22484eaf1d72499b5caeed38ea9627ead371252 (patch) | |
tree | 8695abdaba133d65d1ce9075f38f03c248e2b34c | |
parent | 10e45a750534ae38c383f6351e93ea1e1b367c1a (diff) | |
download | pkgsrc-a22484eaf1d72499b5caeed38ea9627ead371252.tar.gz |
Add buildlink.mk file for use by other package Makefiles.
-rw-r--r-- | graphics/ImageMagick/buildlink.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/ImageMagick/buildlink.mk b/graphics/ImageMagick/buildlink.mk new file mode 100644 index 00000000000..4d5cb34be71 --- /dev/null +++ b/graphics/ImageMagick/buildlink.mk @@ -0,0 +1,36 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/23 19:24:20 jlam Exp $ +# +# This Makefile fragment is included by packages that use ImageMagick. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.ImageMagick to the dependency pattern +# for the version of ImageMagick desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(IMAGEMAGICK_BUILDLINK_MK) +IMAGEMAGICK_BUILDLINK_MK= # defined + +BUILDLINK_DEPENDS.ImageMagick?= ImageMagick>=5.2.8 +DEPENDS+= ${BUILDLINK_DEPENDS.ImageMagick}:../../graphics/ImageMagick + +BUILDLINK_PREFIX.ImageMagick= ${LOCALBASE} +BUILDLINK_FILES.ImageMagick= include/Magick++.h +BUILDLINK_FILES.ImageMagick+= include/Magick++/* +BUILDLINK_FILES.ImageMagick+= include/magick/* +BUILDLINK_FILES.ImageMagick+= lib/libMagick.* +BUILDLINK_FILES.ImageMagick+= lib/libMagick++.* + +BUILDLINK_TARGETS.ImageMagick= ImageMagick-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.ImageMagick} + +pre-configure: ${BUILDLINK_TARGETS.ImageMagick} +ImageMagick-buildlink: _BUILDLINK_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # IMAGEMAGICK_BUILDLINK_MK |