aboutsummaryrefslogtreecommitdiffstats
path: root/audio/amp/Makefile
blob: e1cfff89277bf2a49baae8f34023c0e6f6fac1c6 (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
# 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

BROKEN=     Does not fetch
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE=    2016-07-04
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>