aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gogo/Makefile
blob: f72ab8c902347dff89f426f817653a4e1b98f836 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:   gogo no coder
# Date created:        01 July 1999
# Whom:                Yukihiro Nakai <Nacai@iname.com>
#
# $FreeBSD$
#

PORTNAME=   gogo
PORTVERSION=    2.26a
CATEGORIES= audio
MASTER_SITES=   http://homepage1.nifty.com/herumi/soft/gogo2/src/
DISTNAME=   gogo226a
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

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>