pkgsrc/audio/gramofile/Makefile
2012-09-11 23:59:21 +00:00

36 lines
982 B
Makefile

# $NetBSD: Makefile,v 1.16 2012/09/12 00:24:36 asau Exp $
#
DISTNAME= gramofile-1.6
PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://www.opensourcepartners.nl/~costar/gramofile/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.opensourcepartners.nl/~costar/gramofile/
COMMENT= Tool for ripping audio from vinyl
PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_TARGET= gramofile makebplay
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gramofile \
${DESTDIR}${PREFIX}/bin/gramofile
${INSTALL_PROGRAM} ${WRKSRC}/bplaysrc/bplay \
${DESTDIR}${PREFIX}/bin/bplay_gramo
cd ${DESTDIR}${PREFIX}/bin && ${LN} -s bplay_gramo brec_gramo
SUBST_CLASSES+= snd
SUBST_STAGE.snd= post-patch
SUBST_FILES.snd= bplaysrc/sndfunc.c
SUBST_SED.snd= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
SUBST_MESSAGE.snd= Fixing harcoded audio device.
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"