aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rio/Makefile
blob: 41901d8d783580c57f90f40f12c812c4218eb810 (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
# New ports collection makefile for:   rio
# Date created:        29 April 1999
# Whom:                Nick Sayer <nsayer@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   rio
PORTVERSION=    1.07
CATEGORIES= audio
MASTER_SITES=   http://www.world.co.uk/sba/
DISTNAME=   rio007
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tool for transferring files to and from the Diamond Rio .mp3 player

WRKSRC=     ${WRKDIR}/rio107

BINOWN=     root
BINMODE=    4755

PLIST_FILES=    bin/rio

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN=     Does not compile on ia64, powerpc, or sparc64
.endif

do-build:
    cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o rio app.cpp rio.cpp ${LDFLAGS}

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

.include <bsd.port.post.mk>