has an USB Apple IR receiver, most likely you'll also have an Apple Remote. An Apple remote has six (6) buttons: Volume up, Volume down, Play/Pause, Forward, Backward and Menu. For each button you can assign a command to execute. Apple IR receiver modules are found on: o MacBook (any generation) o MacBook Pro (any generation) o Intel iMac o Intel MacMini WWW: http://wiki.freebsd.org/AppleMacbook PR: ports/156616 Submitted by: Chris Rees (myself) Approved by: rene (mentor)
26 lines
548 B
Makefile
26 lines
548 B
Makefile
# New ports collection Makefile for: aird
|
|
# Date created: 23 April 2011
|
|
# Whom: crees
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aird
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/
|
|
|
|
MAINTAINER= crees@FreeBSD.org
|
|
COMMENT= Handles Apple IR receiver button events
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
MAN1= ${PORTNAME}.1
|
|
MANCOMPRESSED= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1}.gz ${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|