aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gramofile/Makefile
blob: 6eb64dc22e2c7f0d00212ecd20544c504c241ac2 (plain) (blame)
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
# New ports collection makefile for:    gramofile
# Date created:     Fri Jan 28 18:40:38 CET 2000
# Whom:         nox@jelal.kn-bremen.de
#
# $FreeBSD$
#

PORTNAME=   gramofile
PORTVERSION=    1.6
CATEGORIES= audio
MASTER_SITES=   http://panic.et.tudelft.nl/~costar/gramofile/

MAINTAINER= nox@jelal.kn-bremen.de
COMMENT=    Audio recording and tick/scratch reduction for e.g. vinyl records

ALL_TARGET= gramofile
USE_GMAKE=  yes

post-patch:
.for file in bplay.c sndfunc.c
    @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
        ${WRKSRC}/bplaysrc/${file} > ${WRKSRC}/bplaysrc/${file}.new
    @${MV} ${WRKSRC}/bplaysrc/${file}.new ${WRKSRC}/bplaysrc/${file}
.endfor

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/gramofile ${WRKSRC}/bplay_gramo ${PREFIX}/bin
    ${MKDIR} ${PREFIX}/share/doc/gramofile
    ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gramofile
    ${LN} -s bplay_gramo ${PREFIX}/bin/brec_gramo

.include <bsd.port.mk>