41 lines
812 B
Makefile
41 lines
812 B
Makefile
# 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} == "sparc64"
|
|
BROKEN= "Does not compile on ia64 or sparc64"
|
|
.endif
|
|
|
|
.if ${ARCH} == "alpha"
|
|
LDFLAGS+= -lio
|
|
.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>
|