summaryrefslogtreecommitdiff
path: root/graphics/png/buildlink2.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
commite2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /graphics/png/buildlink2.mk
parente97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff)
downloadpkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Diffstat (limited to 'graphics/png/buildlink2.mk')
-rw-r--r--graphics/png/buildlink2.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/png/buildlink2.mk b/graphics/png/buildlink2.mk
new file mode 100644
index 00000000000..06bebd52e86
--- /dev/null
+++ b/graphics/png/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:21 jlam Exp $
+
+.if !defined(PNG_BUILDLINK2_MK)
+PNG_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= png
+BUILDLINK_DEPENDS.png?= png>=1.2.4
+BUILDLINK_PKGSRCDIR.png?= ../../graphics/png
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.png=png
+BUILDLINK_PREFIX.png_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.png= include/png.h
+BUILDLINK_FILES.png+= include/pngconf.h
+BUILDLINK_FILES.png+= lib/libpng.*
+
+.include "../../devel/zlib/buildlink2.mk"
+
+BUILDLINK_TARGETS+= png-buildlink
+
+png-buildlink: _BUILDLINK_USE
+
+.endif # PNG_BUILDLINK2_MK