summaryrefslogtreecommitdiff
path: root/devel/pasm/Makefile
blob: a1fdf9cb4c115473e690b94a1e86a7a88aeae411 (plain)
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

PORTNAME=	pasm
PORTVERSION=	0.84
DISTVERSIONPREFIX=	${PORTNAME}-
CATEGORIES=	devel

MAINTAINER=	ports@FreeBSD.org
COMMENT=	TI PRU Assembler

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/pru_sw/utils/LICENCE.txt

USE_GITHUB=	yes
GH_ACCOUNT=	rpaulo
GH_PROJECT=	am335x_pru_package
PLIST_FILES=	bin/pasm

USES=		alias

do-build:
	(cd ${WRKSRC}/pru_sw/utils/pasm_source && \
		${CC} ${CFLAGS} -D_UNIX_ pasm.c pasmpp.c pasmexp.c pasmop.c \
		pasmdot.c pasmstruct.c pasmmacro.c -o pasm)

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pru_sw/utils/pasm_source/pasm ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>