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.
28 lines
605 B
Makefile
28 lines
605 B
Makefile
# $NetBSD: Makefile,v 1.4 2008/10/15 01:58:53 bjs Exp $
|
|
#
|
|
|
|
.include "../../audio/libmpg123/Makefile.common"
|
|
|
|
PKGNAME= libmpg123-${LIBMPG123_VERSION}
|
|
COMMENT= MPEG layer 1, 2, and 3 decoder library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PKGCONFIG_OVERRIDE+= libmpg123.pc.in
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
BUILD_DIRS= src/libmpg123
|
|
INSTALL_DIRS= src/libmpg123
|
|
|
|
post-extract:
|
|
${ECHO} "#!${CONFIG_SHELL}${.newline}${TRUE}" > \
|
|
${WRKSRC:Q}/libltdl/configure
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC:Q}/libmpg123.pc \
|
|
${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
|
|
|
|
.include "mpg123-options.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|