mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
5b203c3d0b
PR: ports/99148 Submitted by: Alexander Botero-Lowry <alex@foxybanana.com>
42 lines
810 B
Makefile
42 lines
810 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>
|