32 lines
829 B
Makefile
32 lines
829 B
Makefile
# $NetBSD: Makefile,v 1.14 2012/10/02 23:48:02 asau Exp $
|
|
|
|
DISTNAME= nosefart-2.3-mls
|
|
PKGNAME= ${DISTNAME:S/-mls//}
|
|
PKGREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nosefart/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= dgriffi@cs.csubak.edu
|
|
HOMEPAGE= http://nosefart.sourceforge.net/
|
|
COMMENT= Player for NES Sound Format (NSF) files
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
NOT_FOR_PLATFORM= Interix-*-*
|
|
|
|
USE_TOOLS+= gmake
|
|
NO_CONFIGURE= YES
|
|
|
|
SUBST_CLASSES+= ossaudio
|
|
SUBST_STAGE.ossaudio= pre-build
|
|
SUBST_MESSAGE.ossaudio= Fixing audio device.
|
|
SUBST_FILES.ossaudio= src/linux/main_linux.c
|
|
SUBST_SED.ossaudio= -e 's|/dev/dsp|${DEVOSSSOUND}|'
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nsfobj/nosefart ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|