1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/devel/pasm/Makefile
2014-02-06 12:16:23 +00:00

26 lines
629 B
Makefile

# $FreeBSD$
PORTNAME= pasm
PORTVERSION= 0.84
CATEGORIES= devel
MASTER_SITES= https://github.com/rpaulo/am335x_pru_package/archive/
MAINTAINER= rpaulo@FreeBSD.org
COMMENT= TI PRU Assembler
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/pru_sw/utils/LICENCE.txt
WRKSRC= ${WRKDIR}/am335x_pru_package-${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/pasm
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>