freebsd-ports/audio/gogo/Makefile
Will Andrews 3389fc874f Gogo has some IA-32 assembler code, so don't try to build it on anything
other than i386 architecture.

PR:		18944
Submitted by:	Alexander Langer <alex@parca.cichlids.com>
2000-06-01 15:46:56 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: gogo no coder
# Date created: 01 July 1999
# Whom: Yukihiro Nakai <Nacai@iname.com>
#
# $FreeBSD$
#
PORTNAME= gogo
PORTVERSION= 2.30f
CATEGORIES= audio
MASTER_SITES= http://homepage1.nifty.com/herumi/soft/gogo2/src/
DISTNAME= gogo230f
EXTRACT_SUFX= .tgz
MAINTAINER= nakai@FreeBSD.org
# More than version 0.98
BUILD_DEPENDS= nasm-0.98:${PORTSDIR}/devel/nasm
.if !defined(MINIMAL)
RUN_DEPENDS= cdda2wav:${PORTSDIR}/sysutils/cdrecord \
list_audio_tracks:${PORTSDIR}/sysutils/cdrecord
.endif
USE_GMAKE= yes
ALL_TARGET= gogo
.if(!defined(KANJI))
MAKE_ARGS+= DONT_USE_KANJI=-DNO_KANJI
.else
MAKE_ARGS+= DONT_USE_KANJI=
.endif
RESTRICTED= Condition is not clear
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/gogo231f
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin
.if !defined(MINIMAL)
${INSTALL_SCRIPT} ${WRKSRC}/sakai/cdda2mp3.bsd \
${PREFIX}/bin/cdda2mp3.gogo
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/gogo
${INSTALL_DATA} ${WRKSRC}/sakai/cdda2mp3.txt \
${PREFIX}/share/doc/gogo/cdda2mp3.gogo.jp
${INSTALL_DATA} ${WRKSRC}/sakai/readme_e.txt \
${PREFIX}/share/doc/gogo/cdda2mp3.gogo.en
.endif
.endif
.include <bsd.port.mk>