43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2011/04/22 13:41:56 obache Exp $
|
|
#
|
|
|
|
DISTNAME= libvisual-0.4.0
|
|
PKGREVISION= 3
|
|
CATEGORIES= audio graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvisual/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://localhost.nl/~synap/libvisual-wiki/
|
|
COMMENT= Abstraction library between applications and audio visualisation plugins
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/libvisual.pc.in
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= pkg-config msgfmt
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
|
|
RT_LIB_SCHED= -lrt
|
|
.else
|
|
RT_LIB_SCHED= # empty
|
|
.endif
|
|
MAKE_ENV+= RT_LIB_SCHED=${RT_LIB_SCHED}
|
|
SUBST_CLASSES+= rtlib
|
|
SUBST_STAGE.rtlib= post-patch
|
|
SUBST_FILES.rtlib= libvisual.pc.in
|
|
SUBST_VARS.rtlib= RT_LIB_SCHED
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
. if !empty(CC_VERSION:Mgcc*)
|
|
CPPFLAGS+= -mmmx
|
|
. endif
|
|
.endif
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|