2007-01-08 01:19:18 +01:00
|
|
|
# $NetBSD: Makefile,v 1.24 2007/01/08 00:19:18 wiz Exp $
|
2003-07-19 10:59:12 +02:00
|
|
|
#
|
|
|
|
|
2007-01-07 13:52:32 +01:00
|
|
|
DISTNAME= flac-1.1.3
|
|
|
|
PKGNAME= xmms-${DISTNAME}
|
2003-07-19 10:59:12 +02:00
|
|
|
CATEGORIES= audio archivers
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flac/}
|
|
|
|
|
2006-12-15 15:34:18 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-07-19 10:59:12 +02:00
|
|
|
HOMEPAGE= http://flac.sourceforge.net/
|
|
|
|
COMMENT= FLAC XMMS plugin
|
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2003-07-19 10:59:12 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2005-07-29 08:06:57 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2003-07-19 10:59:12 +02:00
|
|
|
USE_LIBTOOL= yes
|
2004-02-14 18:21:32 +01:00
|
|
|
SHLIBTOOL_OVERRIDE= libtool-disable-static
|
2003-07-19 10:59:12 +02:00
|
|
|
|
|
|
|
XMMS_WRKSRC= ${WRKSRC}/src/plugin_xmms
|
|
|
|
|
|
|
|
# previous name of the package
|
|
|
|
CONFLICTS= flac-xmms-[0-9]*
|
|
|
|
|
2007-01-07 13:54:22 +01:00
|
|
|
BUILD_DIRS= src/libFLAC
|
|
|
|
BUILD_DIRS+= src/plugin_common
|
|
|
|
BUILD_DIRS+= src/share
|
|
|
|
BUILD_DIRS+= src/plugin_xmms
|
|
|
|
INSTALL_DIRS= src/plugin_xmms
|
2005-08-21 10:48:51 +02:00
|
|
|
|
2005-07-29 08:06:33 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
|
|
|
# SunPro does not support __inline
|
|
|
|
.if !empty(PKGSRC_COMPILER:Msunpro)
|
|
|
|
CFLAGS+= -D__inline=inline
|
|
|
|
.endif
|
|
|
|
|
2003-07-19 10:59:12 +02:00
|
|
|
do-install:
|
2007-01-07 13:54:22 +01:00
|
|
|
cd ${XMMS_WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
2006-09-09 04:41:53 +02:00
|
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} ${INSTALL_TARGET}
|
2003-07-19 10:59:12 +02:00
|
|
|
|
2007-01-08 01:19:18 +01:00
|
|
|
BUILDLINK_API_DEPENDS.flac+= flac>=1.1.3nb1
|
2004-03-12 00:35:06 +01:00
|
|
|
.include "../../audio/flac/buildlink3.mk"
|
|
|
|
.include "../../audio/xmms/buildlink3.mk"
|
2003-07-19 10:59:12 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|