summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-07-22 09:28:55 +0000
committeragc <agc@pkgsrc.org>2002-07-22 09:28:55 +0000
commit0ac639eaa207d0785f6192f7a049fb174c797cd9 (patch)
treee23cdd0e4bffc8d7b4d8927c121f85b3191cd71f /devel
parenta05f00292c50c074e253b768c65e625d34cd9827 (diff)
downloadpkgsrc-0ac639eaa207d0785f6192f7a049fb174c797cd9.tar.gz
Add a buildlink.mk file for libmpeg3. From Julio Merino (jmmv@hispabsd.org)
in PR 17671
Diffstat (limited to 'devel')
-rw-r--r--devel/libmpeg3/buildlink.mk56
1 files changed, 56 insertions, 0 deletions
diff --git a/devel/libmpeg3/buildlink.mk b/devel/libmpeg3/buildlink.mk
new file mode 100644
index 00000000000..d5a88f78e50
--- /dev/null
+++ b/devel/libmpeg3/buildlink.mk
@@ -0,0 +1,56 @@
+# $NetBSD: buildlink.mk,v 1.1 2002/07/22 09:28:55 agc Exp $
+#
+# This Makefile fragment is included by packages that use libmpeg3.
+#
+# This file was created automatically using createbuildlink 1.5.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.libmpeg3 to the dependency pattern
+# for the version of libmpeg3 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(LIBMPEG3_BUILDLINK_MK)
+LIBMPEG3_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.libmpeg3?= libmpeg3>=1.3nb2
+DEPENDS+= ${BUILDLINK_DEPENDS.libmpeg3}:../../devel/libmpeg3
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libmpeg3=libmpeg3
+BUILDLINK_PREFIX.libmpeg3_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/libmpeg3.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/bitstream.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3atrack.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3css.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3demux.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3io.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3private.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3private.inc
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3title.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3vtrack.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/timecode.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/audio/ac3.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/audio/mpeg3audio.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/video/idct.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/video/mpeg3video.h
+BUILDLINK_FILES.libmpeg3+= include/mpeg3/video/slice.h
+BUILDLINK_FILES.libmpeg3+= lib/libmpeg3.*
+
+USE_PTHREAD= native pth
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/pthread.buildlink.mk"
+
+BUILDLINK_TARGETS.libmpeg3= libmpeg3-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libmpeg3}
+
+pre-configure: ${BUILDLINK_TARGETS}
+libmpeg3-buildlink: _BUILDLINK_USE
+
+.endif # LIBMPEG3_BUILDLINK_MK