2019-07-12 20:43:27 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2019/07/12 20:43:41 sthen Exp $
|
2002-05-22 22:44:16 +00:00
|
|
|
|
2007-09-15 21:26:00 +00:00
|
|
|
COMMENT= Commodore 64 music player and SID chip emulator
|
2002-05-22 22:44:16 +00:00
|
|
|
|
2003-01-23 01:56:21 +00:00
|
|
|
DISTNAME= sidplay-base-1.0.9
|
2010-09-06 00:04:28 +00:00
|
|
|
PKGNAME= ${DISTNAME:S/-base//}
|
2018-10-24 14:27:57 +00:00
|
|
|
REVISION = 5
|
2002-05-22 22:44:16 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
2019-07-12 20:43:27 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2010-09-06 00:04:28 +00:00
|
|
|
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB= c m sidplay>=1 sndio ${COMPILER_LIBCXX}
|
2002-05-22 22:44:16 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2017-05-03 18:36:05 +00:00
|
|
|
MASTER_SITES= https://www.distfiles.pl/
|
2002-05-22 22:44:16 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2010-11-15 00:22:45 +00:00
|
|
|
LIB_DEPENDS= audio/libsidplay
|
2002-05-22 22:44:16 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --with-sidplay-includes=${LOCALBASE}/include \
|
|
|
|
--with-sidplay-library=${LOCALBASE}/lib
|
|
|
|
|
2014-10-26 15:24:09 +00:00
|
|
|
post-extract:
|
|
|
|
@mkdir -p ${WRKSRC}/audio/sndio
|
|
|
|
@cp ${FILESDIR}/audiodrv.cpp ${WRKSRC}/audio/sndio
|
|
|
|
@cp ${FILESDIR}/audiodrv.h ${WRKSRC}/audio/sndio
|
|
|
|
|
2002-05-22 22:44:16 +00:00
|
|
|
.include <bsd.port.mk>
|