blob: e16debe54bc0debd6beb0a7d0f71066b4e247fec (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# New ports collection makefile for: GOGO-no-coda
# Date created: 01 July 1999
# Whom: Yukihiro Nakai <Nacai@iname.com>
#
# $FreeBSD$
#
PORTNAME= gogo
PORTVERSION= 2.39b
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://homepage1.nifty.com/herumi/soft/gogo2/src/
DISTNAME= gogo239b
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Very fast MP3 encoder using recent x86 processors' features
OPTIONS= THREADS "Use linuxthreads for increased SMP performance" off
# More than version 0.98
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
USE_GMAKE= yes
ALL_TARGET= gogo
MAKE_ARGS= CC="${CC}" LD="${CC}"
RESTRICTED= Condition is not clear
ONLY_FOR_ARCHS= i386
PLIST_FILES= bin/cdda2mp3.gogo bin/gogo
PORTDOCS= cdda2mp3.gogo.en cdda2mp3.gogo.ja
# A sample of heavily optimized CFLAGS(typically used with pgcc).
# Recommended ONLY for benchmarks.
# CFLAGS=-march=pentiumpro -O6 -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-register-move -ffast-math -fdefer-pop -mfancy-math-387
.include <bsd.port.pre.mk>
.if defined(WITHOUT_THREADS)
MAKE_ARGS+= "USE_MT=no"
.else
MAKE_ARGS+= "USE_MT=yes"
.if ${OSVERSION} >= 500035
LIB_DEPENDS= lthread.3:${PORTSDIR}/devel/linuxthreads
.else
LIB_DEPENDS= lthread.2:${PORTSDIR}/devel/linuxthreads
.endif
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/contrib/cdda2mp3.bsd \
${PREFIX}/bin/cdda2mp3.gogo
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/gogo
${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3.txt \
${PREFIX}/share/doc/gogo/cdda2mp3.gogo.en
${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3.euc \
${PREFIX}/share/doc/gogo/cdda2mp3.gogo.ja
.endif
.include <bsd.port.post.mk>
|