9fc2d7d281
need them, for example RESTRICTED and SUBST_MESSAGE.*.
34 lines
946 B
Makefile
34 lines
946 B
Makefile
# $NetBSD: Makefile,v 1.14 2006/04/22 09:22:05 rillig 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 ${PREFIX}/bin/gramofile
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bplaysrc/bplay ${PREFIX}/bin/bplay_gramo
|
|
cd ${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"
|