summaryrefslogtreecommitdiff
path: root/audio/xsidplay/Makefile
blob: 932be2416a7db4c2dc7b840fe467657e1b25cc0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.56 2015/04/25 14:20:26 tnn Exp $
#

DISTNAME=	xsidplay-1.6.5.1a
PKGREVISION=	17
CATEGORIES=	audio x11
MASTER_SITES=	http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/
COMMENT=	Commodore 64 music player and SID chip emulator for X11

GNU_CONFIGURE=		yes
USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
USE_TOOLS+=		gmake
MAKE_ENV+=		MACHINE_ARCH=${MACHINE_ARCH:Q}

CONFIGURE_ARGS+=	--with-qt-dir=${QTDIR:Q}
CONFIGURE_ENV+=		DISABLE_ESD_TEST=yes
CONFIGURE_ENV+=		DISABLE_ARTSD_TEST=yes

INSTALLATION_DIRS=	bin

pre-configure:
	rm ${WRKSRC}/scripts/ltmain.sh && ${LN} -s ${PREFIX}/share/libtool/ltmain.sh ${WRKSRC}/scripts/ltmain.sh

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${DESTDIR}${PREFIX}/bin

.include "../../audio/libsidplay/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"