aboutsummaryrefslogtreecommitdiffstats
path: root/audio/amp/Makefile
blob: 4333ccace5af5fb49f16360c1d12330e7563b19b (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
# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
# $FreeBSD$

PORTNAME=   amp
PORTVERSION=    0.7.6
PORTEPOCH=  1
CATEGORIES= audio
MASTER_SITES=   http://www-users.cs.umn.edu/~wburdick/ftp/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Another mp3 player

USES=       gmake
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  ac_cv_prog_gcc=no

PLIST_FILES=    bin/amp man/man1/amp.1.gz

post-patch:
    @${REINPLACE_CMD} -e \
        '/CC="gcc"/s|^|#| ; \
         /CFLAGS=$$/s|^|#| ; \
         s|-O6|$$CFLAGS|' ${WRKSRC}/configure

do-install:
    (cd ${WRKSRC} && ${INSTALL_PROGRAM} amp ${STAGEDIR}${PREFIX}/bin)
    (cd ${WRKSRC} && ${INSTALL_MAN} amp.1 ${STAGEDIR}${PREFIX}/man/man1)

.include <bsd.port.mk>