mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
0dd31003fd
PR: 95135 Submitted by: Jean-Francois BOEUF <jfb@minet.net>
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# New ports collection makefile for: picasm
|
|
# Date created: 25 October 2002
|
|
# Whom: Bruce M Simpson <bms@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= picasm
|
|
PORTVERSION= 1.14
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.jmp.fi/~trossi/pic/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Portable assembler for 16C84 series PICs
|
|
|
|
USE_BZIP2= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
|
|
|
|
USE_PERL5_BUILD= yes
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" PERL5="${PERL5}"
|
|
ALL_TARGET=
|
|
|
|
EXAMPLE_FILES= example.asm morse.asm morse.i pic16f84.i picmac.i
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/picasm ${PREFIX}/bin
|
|
${MKDIR} ${DATADIR}/device_definitions
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/picasm.txt ${DOCSDIR}
|
|
.for EXAMPLE in ${EXAMPLE_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${EXAMPLE} ${EXAMPLESDIR}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/device_definitions/*.i ${DATADIR}/device_definitions
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|