aboutsummaryrefslogtreecommitdiffstats
path: root/comms/uartlirc/Makefile
blob: 1a73159d8bf38cf65999ce0e06fb130d0442f570 (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
# Created by: nox@FreeBSD.org
# $FreeBSD$

PORTNAME=   uartlirc
PORTVERSION=    0.3
PORTREVISION=   2
CATEGORIES= comms
MASTER_SITES=   LOCAL/nox \
        http://people.freebsd.org/~nox/tmp/
DISTNAME=   ${PORTNAME}-preliminary-003
EXTRACT_SUFX=   .shar

MAINTAINER= nox@FreeBSD.org
COMMENT=    Driver for "homebrew" serial LIRC receivers

SSP_UNSAFE= kernel module does not support ssp
USES=       kmod

WRKSRC=     ${WRKDIR}/${PORTNAME}
EXTRACT_CMD=    ${SH}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=

.include <bsd.port.pre.mk>

PLIST_FILES+=   "@cwd /"
PLIST_FILES+=   ${KMODDIR:C,^/,,}/${PORTNAME}.ko

CFLAGS+=    ${DEBUG_FLAGS}

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

do-install:
    ${INSTALL} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}

.include <bsd.port.post.mk>