aboutsummaryrefslogtreecommitdiffstats
path: root/devel/k8048/Makefile
blob: 48e7e9264398072e7542fac7b61ce4c93eda28fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    k8048
# Date Created:     Oct 6 2007
# Whom:         Bruce M. Simpson <bms@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   k8048
PORTVERSION=    1.00
CATEGORIES= devel
MASTER_SITES=   http://dev.kewl.org/k8048/

MAINTAINER= bms@FreeBSD.org
COMMENT=    Programs Microchip PICs using Velleman K8048 board

USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/${PORTNAME}

#BUILD_DEPENDS+=    gpasm:${PORTSDIR}/devel/gputils

BIN_SYMLINKS=   bin/ktest bin/kdebug bin/k14 bin/k16
PLIST_FILES=    bin/${PORTNAME} ${BIN_SYMLINKS}

do-build:
    cd ${BUILD_WRKSRC}/${PORTNAME} && ${GMAKE} all

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${PORTNAME} \
               ${PREFIX}/bin/${PORTNAME}

post-install:
.for i in ${BIN_SYMLINKS}
    cd ${PREFIX} && ${LN} -s ${PORTNAME} ${i}
.endfor

.include <bsd.port.mk>