mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
bc6d0887a0
- in general, if we think that the code is not architecture-specific, and instead just enables x86 assembler by default, those should use BROKEN rather than IGNORE. This will allow them to be attempted with TRYBROKEN. - spell i386 as x86. - spell asm as assembler. - pet portlint. These changes should have no effect on tier-1 builds. Approved by: portmgr (tier-2 blanket)
44 lines
1021 B
Makefile
44 lines
1021 B
Makefile
# Created by: Bruce M. Simpson <bms@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= k8048
|
|
PORTVERSION= 3.05
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://dev.kewl.org/k8048/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Programs Microchip PICs using Velleman K8048 board
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BROKEN_aarch64= invokes x86 assembler
|
|
BROKEN_armv6= invokes x86 assembler
|
|
BROKEN_armv7= invokes x86 assembler
|
|
BROKEN_mips= invokes x86 assembler
|
|
BROKEN_mips64= invokes x86 assembler
|
|
BROKEN_sparc64= invokes x86 assembler
|
|
BROKEN_powerpc64= invokes x86 assembler
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/Src
|
|
|
|
USES= gmake
|
|
ALL_TARGET= build
|
|
|
|
PLIST_FILES= bin/${PORTNAME} bin/kio ${BIN_SYMLINKS}
|
|
|
|
BIN_SYMLINKS= bin/k12 bin/k14 bin/k16 bin/ktest
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^CC=|CC?=| ; \
|
|
s|^CFLAGS=|CFLAGS+=| ; \
|
|
s|-ggdb||' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} kio ${STAGEDIR}${PREFIX}/bin)
|
|
.for i in ${BIN_SYMLINKS}
|
|
${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/${i}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|