2000-06-05 10:19:39 +00:00
|
|
|
# New ports collection makefile for: GOGO-no-coda
|
1999-07-17 04:15:58 +00:00
|
|
|
# Date created: 01 July 1999
|
|
|
|
# Whom: Yukihiro Nakai <Nacai@iname.com>
|
|
|
|
#
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1999-07-17 04:15:58 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
PORTNAME= gogo
|
2001-01-06 10:21:12 +00:00
|
|
|
PORTVERSION= 2.39b
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
1999-07-17 04:15:58 +00:00
|
|
|
CATEGORIES= audio
|
2000-01-25 10:54:47 +00:00
|
|
|
MASTER_SITES= http://homepage1.nifty.com/herumi/soft/gogo2/src/
|
2001-01-06 10:21:12 +00:00
|
|
|
DISTNAME= gogo239b
|
2000-01-25 10:54:47 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1999-07-17 04:15:58 +00:00
|
|
|
|
2003-11-03 01:19:26 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Very fast MP3 encoder using recent x86 processors' features
|
1999-07-17 04:15:58 +00:00
|
|
|
|
2005-04-19 13:55:25 +00:00
|
|
|
OPTIONS= THREADS "Use linuxthreads for increased SMP performance" off
|
|
|
|
|
1999-10-01 08:46:15 +00:00
|
|
|
# More than version 0.98
|
2002-06-07 16:16:32 +00:00
|
|
|
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
1999-07-17 04:15:58 +00:00
|
|
|
|
1999-10-22 07:38:39 +00:00
|
|
|
USE_GMAKE= yes
|
1999-10-01 08:46:15 +00:00
|
|
|
ALL_TARGET= gogo
|
2005-04-19 13:55:25 +00:00
|
|
|
MAKE_ARGS= CC="${CC}" LD="${CC}"
|
2000-06-05 10:19:39 +00:00
|
|
|
|
1999-10-01 08:46:15 +00:00
|
|
|
RESTRICTED= Condition is not clear
|
2000-06-01 15:46:56 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2000-06-05 10:19:39 +00:00
|
|
|
|
2005-04-19 13:55:25 +00:00
|
|
|
PLIST_FILES= bin/cdda2mp3.gogo bin/gogo
|
|
|
|
PORTDOCS= cdda2mp3.gogo.en cdda2mp3.gogo.ja
|
|
|
|
|
2000-06-05 10:19:39 +00:00
|
|
|
# A sample of heavily optimized CFLAGS(typically used with pgcc).
|
|
|
|
# Recommended ONLY for benchmarks.
|
2000-07-05 07:52:12 +00:00
|
|
|
# CFLAGS=-march=pentiumpro -O6 -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-register-move -ffast-math -fdefer-pop -mfancy-math-387
|
2000-06-05 10:19:39 +00:00
|
|
|
|
2003-01-11 08:37:29 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-04-19 13:55:25 +00:00
|
|
|
.if defined(WITHOUT_THREADS)
|
|
|
|
MAKE_ARGS+= "USE_MT=no"
|
2000-06-05 10:19:39 +00:00
|
|
|
.else
|
2005-04-19 13:55:25 +00:00
|
|
|
MAKE_ARGS+= "USE_MT=yes"
|
2003-01-11 08:37:29 +00:00
|
|
|
LIB_DEPENDS= lthread.3:${PORTSDIR}/devel/linuxthreads
|
|
|
|
.endif
|
2000-04-19 04:46:05 +00:00
|
|
|
|
1999-07-17 04:15:58 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin
|
2000-06-05 10:19:39 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/cdda2mp3.bsd \
|
2000-01-26 11:28:06 +00:00
|
|
|
${PREFIX}/bin/cdda2mp3.gogo
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/gogo
|
2000-06-05 10:19:39 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3.txt \
|
2000-01-26 11:28:06 +00:00
|
|
|
${PREFIX}/share/doc/gogo/cdda2mp3.gogo.en
|
2000-06-05 10:19:39 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/cdda2mp3.euc \
|
|
|
|
${PREFIX}/share/doc/gogo/cdda2mp3.gogo.ja
|
2000-01-26 11:28:06 +00:00
|
|
|
.endif
|
1999-07-17 04:15:58 +00:00
|
|
|
|
2003-01-11 08:37:29 +00:00
|
|
|
.include <bsd.port.post.mk>
|