1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/comms/uarduno/Makefile
Mark Linimon fa74598719 Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
2017-05-21 21:55:08 +00:00

53 lines
1.3 KiB
Makefile

# Created by: 'Big Bad Bob' Frazier <bobf@mrp3.com>
# $FreeBSD$
PORTNAME= uarduno
PORTVERSION= 1.02
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://mrp3.com/
MAINTAINER= bobf@mrp3.com
COMMENT= FreeBSD Kernel Driver for the Arduino Uno USB interface
LICENSE= BSD4CLAUSE
BROKEN_powerpc64= fails to compile: pcpu.h: error: size of array '__assert_0' is negative
USES= kmod uidfix
# some test targets need a predictable source directory
WRKSRC= ${WRKDIR}/uarduno
PLIST_FILES= ${KMODDIR}/uarduno.ko
#
# make sure I correctly identify the OS version
#
CFLAGS+= -DKERNELVER=${OSVERSION}
# post-patch target, copy 'ids.txt' as 'ids.h' (user-modifiable file)
post-patch:
@${CP} ${FILESDIR}/ids.txt ${WRKSRC}/ids.h
#
# these next 2 targets are for developer use
#
# building a source tarball and related files
uarduno-src-tarball:
${MAKE_CMD} patch
${MAKE_CMD} -C ${WRKSRC} my-clean
${TAR} -c -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR} uarduno
${MAKE_CMD} makesum
# partial clean for incremental build and test
uarduno-part-clean:
-${RM} ${WRKDIR}/.patch_done.uarduno._boot_kernel
-${RM} ${WRKDIR}/.configure_done.uarduno._boot_kernel
-${RM} ${WRKDIR}/.build_done.uarduno._boot_kernel
-${RM} ${WRKDIR}/.install_done.uarduno._boot_kernel
${MAKE_CMD} -C ${WRKSRC} my-clean
${MAKE_CMD} patch
.include <bsd.port.mk>