1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/k8048/Makefile
Martin Wilke a07f4d8454 - Update to 2.12
PR:		175574
Submitted by:	Ports Fury
2013-02-07 14:27:54 +00:00

36 lines
728 B
Makefile

# Created by: Bruce M. Simpson <bms@FreeBSD.org>
# $FreeBSD$
PORTNAME= k8048
PORTVERSION= 2.12
CATEGORIES= devel
MASTER_SITES= http://dev.kewl.org/k8048/
MAINTAINER= ports@FreeBSD.org
COMMENT= Programs Microchip PICs using Velleman K8048 board
LICENSE= BSD
WRKSRC= ${WRKDIR}/${PORTNAME}/Src
USE_GMAKE= yes
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 ${PREFIX}/bin)
.for i in ${BIN_SYMLINKS}
${LN} -sf ${PORTNAME} ${PREFIX}/${i}
.endfor
.include <bsd.port.mk>