blob: 81875c885869d54abac0d1e6ae84c87569c9c8f6 (
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
|
# $NetBSD: Makefile,v 1.19 2016/04/20 12:10:26 nros Exp $
#
DISTNAME= gramofile-1.6
PKGREVISION= 4
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
LICENSE= gnu-gpl-v2
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"
|