View | Details | Raw Unified | Return to bug 174198 | Differences between
and this patch

Collapse All | Expand All

(-)devel/k8048/Makefile (-12 / +16 lines)
Lines 2-31 Link Here
2
# $FreeBSD: head/devel/k8048/Makefile 309344 2012-12-21 07:10:21Z eadler $
2
# $FreeBSD: head/devel/k8048/Makefile 309344 2012-12-21 07:10:21Z eadler $
3
3
4
PORTNAME=	k8048
4
PORTNAME=	k8048
5
PORTVERSION=	2.09
5
PORTVERSION=	2.11
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	http://dev.kewl.org/k8048/
7
MASTER_SITES=	http://dev.kewl.org/k8048/
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Programs Microchip PICs using Velleman K8048 board
10
COMMENT=	Programs Microchip PICs using Velleman K8048 board
11
11
12
LICENSE=	BSD
13
14
WRKSRC=		${WRKDIR}/${PORTNAME}/Src
15
12
USE_GMAKE=	yes
16
USE_GMAKE=	yes
13
WRKSRC=		${WRKDIR}/${PORTNAME}
17
ALL_TARGET=	build
14
ALL_TARGET=	#empty - the makefile lacks an "all" target
15
MAKE_JOBS_SAFE=	yes
16
18
17
#BUILD_DEPENDS+=	gpasm:${PORTSDIR}/devel/gputils
19
PLIST_FILES=	bin/${PORTNAME} bin/kio ${BIN_SYMLINKS}
18
20
19
BIN_SYMLINKS=	bin/ktest bin/kdebug bin/k14 bin/k16
21
BIN_SYMLINKS=	bin/k12 bin/k14 bin/k16 bin/ktest
20
PLIST_FILES=	bin/${PORTNAME} ${BIN_SYMLINKS}
21
22
22
do-install:
23
post-patch:
23
	${INSTALL_PROGRAM} ${WRKSRC}/Src/${PORTNAME} \
24
	@${REINPLACE_CMD} -e \
24
	${PREFIX}/bin/${PORTNAME}
25
		's|^CC=|CC?=| ; \
26
		 s|^CFLAGS=|CFLAGS+=| ; \
27
		 s|-ggdb||' ${WRKSRC}/Makefile
25
28
26
post-install:
29
do-install:
30
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} kio ${PREFIX}/bin)
27
.for i in ${BIN_SYMLINKS}
31
.for i in ${BIN_SYMLINKS}
28
	cd ${PREFIX} && ${LN} -fs ${PORTNAME} ${i}
32
	${LN} -sf ${PORTNAME} ${PREFIX}/${i}
29
.endfor
33
.endfor
30
34
31
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)devel/k8048/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (k8048-2.09.tar.gz) = d1f52d33bbeecf9fde1a7c5c4332f3fce2f7475e7a7b8f8eed037c85a81539e6
1
SHA256 (k8048-2.11.tar.gz) = d7a7ae6e61587a23e0a6d5230a0070ea342586c58f69bdefe1314260f18c72ac
2
SIZE (k8048-2.09.tar.gz) = 4000736
2
SIZE (k8048-2.11.tar.gz) = 4307250

Return to bug 174198