aboutsummaryrefslogtreecommitdiffstats
path: root/audio/shntool/Makefile
blob: 8fec24519c39dc118291324b7fd535601dcaf9b7 (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
# New ports collection makefile for:   shntool
# Date created:        2 November 2000
# Whom:                Bill Fenner <fenner@FreeBSD.Org>
#
# $FreeBSD$
#

PORTNAME=   shntool
PORTVERSION=    0.95
CATEGORIES= audio
MASTER_SITES=   http://sdf.lonestar.org/~jason/shn-utils/shntool/
EXTRACT_SUFX=   .c

MAINTAINER= fenner@FreeBSD.Org

RUN_DEPENDS=    shorten:${PORTSDIR}/audio/shorten

do-extract:
    ${MKDIR} ${WRKSRC}
    ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}

do-build:
    cd ${WRKSRC} && ${CC} -o shntool ${DISTFILES}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/shntool ${PREFIX}/bin
    ${LN} -sf shntool ${PREFIX}/bin/shnlen
    ${LN} -sf shntool ${PREFIX}/bin/fixwav

.include <bsd.port.mk>