aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gogo-petit/Makefile
blob: 4e92e08af18f7f5f746b65f5b84b3977a6083158 (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
34
# New ports collection makefile for:  GOGO-no-coda-petit
# Date created:        06 November, 2003
# Whom:                Evgueni V. Gavrilov <aquatique@rusunix.org>
#
# $FreeBSD$
#

PORTNAME=   gogo
PORTVERSION=    3.13
CATEGORIES= audio
MASTER_SITES=   http://homepage2.nifty.com/kei-i/petit/ \
        ftp://rusunix.org/pub/FreeBSD/distfiles/
PKGNAMESUFFIX=  petit
DISTNAME=   petit313
EXTRACT_SUFX=   .tgz

MAINTAINER= aquatique-ports@rambler.ru
COMMENT=    New variant of well-known GOGO-no-coda mp3 encoder

BUILD_DEPENDS=  nasm:${PORTSDIR}/devel/nasm

WRKSRC=     ${WRKDIR}/${DISTNAME}/FreeBSD

USE_REINPLACE=  yes
CFLAGS+=    ${PTHREAD_CFLAGS}

ONLY_FOR_ARCHS= i386
PLIST_FILES=    bin/gogo-petit

post-patch:
    @${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}| ; \
    s|/usr/local/bin|${PREFIX}/bin|g' ${WRKSRC}/Makefile || @${ECHO} yo

.include <bsd.port.mk>