pkgsrc/audio/libmpg123/buildlink3.mk
bjs a7b6f59066 Change PKGNAME to libmpg123, and set the version to that of the
library's soname.  Split Makefile.common out from Makefile in preparation
for the addition of the mpg123 program and output module packages.
Change buildlink3.mk to reflect this, and rename options.mk
to mpg123-options.mk in adherence with convention, e.g.
gecko-options.mk.
2008-10-15 01:58:53 +00:00

19 lines
595 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2008/10/15 01:58:53 bjs Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMPG123_BUILDLINK3_MK:= ${LIBMPG123_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libmpg123
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmpg123}
BUILDLINK_PACKAGES+= libmpg123
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmpg123
.if ${LIBMPG123_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libmpg123+= libmpg123>=0.7.0
BUILDLINK_PKGSRCDIR.libmpg123?= ../../audio/libmpg123
.endif # LIBMPG123_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}