2017-07-13 14:04:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2017/07/13 12:04:37 wiz Exp $
|
2009-08-16 17:52:10 +02:00
|
|
|
|
2011-11-28 17:46:29 +01:00
|
|
|
DISTNAME= ocp-0.1.21
|
2015-10-13 20:18:09 +02:00
|
|
|
PKGREVISION= 7
|
2009-08-16 17:52:10 +02:00
|
|
|
CATEGORIES= audio
|
2011-11-28 17:46:29 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opencubicplayer/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2009-08-16 17:52:10 +02:00
|
|
|
|
2010-10-24 19:49:50 +02:00
|
|
|
MAINTAINER= shattered@NetBSD.org
|
2011-12-21 21:20:43 +01:00
|
|
|
HOMEPAGE= http://sourceforge.net/p/opencubicplayer/
|
2009-08-16 17:52:10 +02:00
|
|
|
COMMENT= Open Cubic Player
|
2010-06-05 16:45:01 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2009-08-16 17:52:10 +02:00
|
|
|
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= gmake makeinfo
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_NCURSES= yes # resize_term
|
|
|
|
INFO_FILES= yes
|
|
|
|
|
2012-02-15 23:23:15 +01:00
|
|
|
REPLACE_SH= ocp-curses ocp-sdl ocp-vcsa ocp-x11
|
|
|
|
|
2010-09-28 20:58:39 +02:00
|
|
|
# ymtype.so wants to link -llzh before it's finished building
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2009-08-16 17:52:10 +02:00
|
|
|
CONFIGURE_ARGS+= --exec-prefix=${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
|
2012-02-15 23:23:15 +01:00
|
|
|
|
|
|
|
CFLAGS.SunOS+= -mimpure-text
|
|
|
|
CFLAGS.SunOS+= -DSOUND_PCM_WRITE_CHANNELS=SNDCTL_DSP_CHANNELS
|
|
|
|
CFLAGS.SunOS+= -DSOUND_PCM_WRITE_BITS=SNDCTL_DSP_SETFMT
|
|
|
|
CFLAGS.SunOS+= -DSOUND_PCM_WRITE_RATE=SNDCTL_DSP_SPEED
|
2009-08-16 17:52:10 +02:00
|
|
|
|
2012-04-30 10:26:41 +02:00
|
|
|
PLIST_VARS+= sdl x11 desktop
|
|
|
|
|
2017-07-13 14:04:37 +02:00
|
|
|
SUBST_CLASSES+= ldflags
|
|
|
|
SUBST_SED.ldflags+= -e 's/$$(SHARED_FLAGS)/$$(LDFLAGS) $$(SHARED_FLAGS)/g'
|
|
|
|
SUBST_FILES.ldflags+= */Makefile
|
|
|
|
SUBST_MESSAGE.ldflags= Honoring LDFLAGS.
|
|
|
|
SUBST_STAGE.ldflags= pre-build
|
|
|
|
|
2012-04-30 10:26:41 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2009-08-16 17:52:10 +02:00
|
|
|
.include "../../audio/libid3tag/buildlink3.mk"
|
|
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
2015-10-13 20:18:09 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2009-08-16 17:52:10 +02:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
2016-03-03 20:35:13 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2009-08-16 17:52:10 +02:00
|
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|