aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3chew/Makefile
blob: a109b8683a1491fa53dbd025bc1bf94714b5ff7b (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
33
# New ports collection makefile for:   mp3chew
# Date created:        10 March 2001
# Whom:                George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#

PORTNAME=       mp3chew
PORTVERSION=    0.51.0
CATEGORIES=     audio
MASTER_SITES=   http://owl.yi.org/mp3chew/download/tar/

MAINTAINER= greid@ukug.uk.freebsd.org

WRKSRC=     ${WRKDIR}/${PORTNAME}

ALL_TARGET= ${PORTNAME}

DOCFILES=   CHANGELOG INSTALL README TODO

post-patch:
    @${PERL} -pi.fbsd -e 's, _to, to,g' ${WRKSRC}/CMp3Filter.cc

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/mp3chew ${PREFIX}/bin
.if !defined(NOPORTDOCS)
.for D in ${DOCFILES}
    ${MKDIR} ${PREFIX}/share/doc/mp3chew
    ${INSTALL_DATA} ${WRKSRC}/docs/$D ${PREFIX}/share/doc/mp3chew
.endfor
.endif

.include <bsd.port.mk>