diff options
author | rh <rh> | 2002-04-27 10:37:07 +0000 |
---|---|---|
committer | rh <rh> | 2002-04-27 10:37:07 +0000 |
commit | 5bc138d2f718b3d1b95d6f4831049cb4d53b500a (patch) | |
tree | 73662e723cd19ff374b11b041454ae220c9182b5 /audio | |
parent | 2244f01a76afc42db4364b253501282e0c3ff490 (diff) | |
download | pkgsrc-5bc138d2f718b3d1b95d6f4831049cb4d53b500a.tar.gz |
Add buildlink.mk file. Provided by <collver@linuxfreemail.com> in PR
pkg/16470, thanks!
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cdparanoia/buildlink.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/audio/cdparanoia/buildlink.mk b/audio/cdparanoia/buildlink.mk new file mode 100644 index 00000000000..051644ff589 --- /dev/null +++ b/audio/cdparanoia/buildlink.mk @@ -0,0 +1,36 @@ +# $NetBSD: buildlink.mk,v 1.1 2002/04/27 10:37:07 rh Exp $ +# +# This Makefile fragment is included by packages that use the library +# provided by cdparanoia. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.cdparanoia to the dependency +# pattern for the version of cdparanoia 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(CDPARANOIA_BUILDLINK_MK) +CDPARANOIA_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.cdparanoia?= cdparanoia>=3.0 +DEPENDS+= ${BUILDLINK_DEPENDS.cdparanoia}:../../audio/cdparanoia + +EVAL_PREFIX+= BUILDLINK_PREFIX.cdparanoia=cdparanoia +BUILDLINK_PREFIX.cdparanoia_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.cdparanoia= include/cdparanoia/* +BUILDLINK_FILES.cdparanoia+= lib/libcdda_paranoia.* +BUILDLINK_FILES.cdparanoia+= lib/libcdda_interface.* + +BUILDLINK_TARGETS.cdparanoia= cdparanoia-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.cdparanoia} + +pre-configure: ${BUILDLINK_TARGETS.cdparanoia} +cdparanoia-buildlink: _BUILDLINK_USE + +.endif # CDPARANOIA_BUILDLINK_MK |