freebsd-ports/devel/k8048/Makefile
Danilo Egea Gondolfo c52bda08ef - Update from 2.13 to 2.14
- Convert USE_GMAKE to USES
- Add stage support
2013-10-26 04:18:19 +00:00

35 lines
747 B
Makefile

# Created by: Bruce M. Simpson <bms@FreeBSD.org>
# $FreeBSD$
PORTNAME= k8048
PORTVERSION= 2.14
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
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>