mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
# Created by: Bruce M. Simpson <bms@FreeBSD.org>
|
|
|
|
PORTNAME= pickle
|
|
PORTVERSION= 4.20
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://wiki.kewl.org/downloads/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Programs Microchip PICs using ICSP
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
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
|
|
|
|
USES= gmake tar:tgz
|
|
|
|
ALL_TARGET= build
|
|
|
|
PLIST_FILES= ${BIN_SYMLINKS} \
|
|
bin/pctrl \
|
|
bin/${PORTNAME} \
|
|
bin/pio \
|
|
bin/pload \
|
|
bin/ptest
|
|
|
|
BIN_SYMLINKS= bin/n14 \
|
|
bin/n16 \
|
|
bin/p12 \
|
|
bin/p14 \
|
|
bin/p16 \
|
|
bin/p24 \
|
|
bin/p32
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^CC=|CC?=| ; \
|
|
s|^CFLAGS=|CFLAGS+=| ; \
|
|
s|-ggdb||' ${WRKSRC}/src/Makefile
|
|
|
|
do-install:
|
|
.for i in ${PORTNAME} pio ptest pctrl pload
|
|
(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin/${i})
|
|
.endfor
|
|
.for i in ${BIN_SYMLINKS}
|
|
${RLN} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/${i}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|