diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2013-01-16 08:21:04 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2013-01-16 08:21:04 +0000 |
commit | 300dc04d8c3d9231536c0b8e1f64beb5692abfa7 (patch) | |
tree | b6ad962010901971de321f1af6931347f486cf69 /devel/k8048/Makefile | |
parent | 8d2582cf41d210506ecc94961a77f5482b5da498 (diff) |
Notes
Diffstat (limited to 'devel/k8048/Makefile')
-rw-r--r-- | devel/k8048/Makefile | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/devel/k8048/Makefile b/devel/k8048/Makefile index b4ecd0756ce1..2ca11d82f4e7 100644 --- a/devel/k8048/Makefile +++ b/devel/k8048/Makefile @@ -2,30 +2,34 @@ # $FreeBSD$ PORTNAME= k8048 -PORTVERSION= 2.09 +PORTVERSION= 2.11 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 -WRKSRC= ${WRKDIR}/${PORTNAME} -ALL_TARGET= #empty - the makefile lacks an "all" target -MAKE_JOBS_SAFE= yes +ALL_TARGET= build -#BUILD_DEPENDS+= gpasm:${PORTSDIR}/devel/gputils +PLIST_FILES= bin/${PORTNAME} bin/kio ${BIN_SYMLINKS} -BIN_SYMLINKS= bin/ktest bin/kdebug bin/k14 bin/k16 -PLIST_FILES= bin/${PORTNAME} ${BIN_SYMLINKS} +BIN_SYMLINKS= bin/k12 bin/k14 bin/k16 bin/ktest -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/Src/${PORTNAME} \ - ${PREFIX}/bin/${PORTNAME} +post-patch: + @${REINPLACE_CMD} -e \ + 's|^CC=|CC?=| ; \ + s|^CFLAGS=|CFLAGS+=| ; \ + s|-ggdb||' ${WRKSRC}/Makefile -post-install: +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} kio ${PREFIX}/bin) .for i in ${BIN_SYMLINKS} - cd ${PREFIX} && ${LN} -fs ${PORTNAME} ${i} + ${LN} -sf ${PORTNAME} ${PREFIX}/${i} .endfor .include <bsd.port.mk> |