summaryrefslogtreecommitdiff
path: root/graphics/png/buildlink.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/png/buildlink.mk')
-rw-r--r--graphics/png/buildlink.mk37
1 files changed, 0 insertions, 37 deletions
diff --git a/graphics/png/buildlink.mk b/graphics/png/buildlink.mk
deleted file mode 100644
index 2d65697e7b7..00000000000
--- a/graphics/png/buildlink.mk
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: buildlink.mk,v 1.12 2002/08/25 18:39:21 jlam Exp $
-#
-# This Makefile fragment is included by packages that use libpng.
-#
-# To use this Makefile fragment, simply:
-#
-# (1) Optionally define BUILDLINK_DEPENDS.png to the dependency pattern
-# for the version of libpng 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(PNG_BUILDLINK_MK)
-PNG_BUILDLINK_MK= # defined
-
-.include "../../mk/bsd.buildlink.mk"
-
-BUILDLINK_DEPENDS.png?= png>=1.2.4
-DEPENDS+= ${BUILDLINK_DEPENDS.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/buildlink.mk"
-
-BUILDLINK_TARGETS.png= png-buildlink
-BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.png}
-
-pre-configure: ${BUILDLINK_TARGETS.png}
-png-buildlink: _BUILDLINK_USE
-
-.endif # PNG_BUILDLINK_MK