Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (41 sloc) 1.462 kb
# $NetBSD: Makefile.common,v 1.36 2012/10/02 23:48:00 asau Exp $
#
# used by audio/mpg123-arts/Makefile
# used by audio/mpg123-esound/Makefile
# used by audio/mpg123-nas/Makefile
# used by audio/mpg123-oss/Makefile
# used by audio/mpg123-pulse/Makefile
# used by audio/mpg123-sun/Makefile
DISTNAME= mpg123-1.12.5
PKGNAME?= ${DISTNAME:C/[[:alnum:]]*/&-${MPG123_MODULE}/}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
EXTRACT_SUFX= .tar.bz2
DISTINFO_FILE=${.CURDIR}/../../audio/mpg123/distinfo
LICENSE= gnu-lgpl-v2.1
MAINTAINER= martin@NetBSD.org
HOMEPAGE= http://www.mpg123.org/
COMMENT?= Contains the ${MPG123_MODULE} module for mpg123
GNU_CONFIGURE?= yes
USE_LIBTOOL?= yes
USE_TOOLS+= pkg-config gmake
CONFIGURE_ARGS+= --enable-modules=yes
MPG123_SUBDIRS?= src
MPG123_SUBDIRS.src?= output
CONFIGURE_ENV+= BUILD_${MPG123_MODULE:tu}=yes
CONFIGURE_ENV+= MPG123_MODULE=${MPG123_MODULE:Q}
MAKE_ENV+= MPG123_SUBDIRS=${MPG123_SUBDIRS:Q}
MAKE_ENV+= MPG123_SUBDIRS.src=${MPG123_SUBDIRS.src:Q}
.if !defined(MPG123_BUILDING_BASE)
INSTALLATION_DIRS+= lib/mpg123
LIBS+= -lmpg123
BUILD_DIRS= src/output
PATCHDIR= ${.CURDIR}/../../audio/mpg123/patches
do-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} \
${WRKSRC}/src/output/output_${MPG123_MODULE}.la \
${DESTDIR}${PREFIX}/lib/mpg123
.endif
# .include "../../devel/libltdl/convenience.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
Jump to Line
Something went wrong with that request. Please try again.