aboutsummaryrefslogtreecommitdiffstats
path: root/audio/replay/Makefile
blob: 2ed5e0b0256a19b3dd111f5e86749e36117c6f98 (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
# New ports collection makefile for:    replay
# Date created:         Oct 27 1998
# Whom:             Vanilla Pooh Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   replay
PORTVERSION=    0.61
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= X11/gtkbuffet/apps/replay
DISTNAME=   ${PORTNAME}-source-dgtk_${PORTVERSION}

MAINTAINER= nakai@FreeBSD.org
COMMENT=    Another GTK-based mp3 player

USE_X_PREFIX=   yes
USE_GNOME=  gtk12 esound
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

.if defined(WITH_I18N)
CONFIGURE_ARGS+=    --enable-i18n=JAPANESE
.endif

pre-configure:
.if !defined(WITH_I18N)
    @${ECHO_MSG}
    @${ECHO_MSG} "If you would like build replay with I18N support"
    @${ECHO_MSG} "you must set the variable WITH_I18N"
    @${ECHO_MSG} "(Now JAPANESE only)"
    @${ECHO_MSG}
.else
    @${ECHO_MSG}
    @${ECHO_MSG} "Building replay with I18N support"
    @${ECHO_MSG}
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/replay ${PREFIX}/bin

.include <bsd.port.mk>