mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
6fa4f63446
Submitted by: Roman Neuhauser
38 lines
916 B
Makefile
38 lines
916 B
Makefile
# New ports collection makefile for: picasm
|
|
# Date created: 25 October 2002
|
|
# Whom: Bruce M Simpson <bms@spc.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= picasm
|
|
PORTVERSION= 1.12b
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.co.jyu.fi/~trossi/pic/ \
|
|
http://hyvatti.iki.fi/~jaakko/pic/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
|
|
|
MAINTAINER= bms@spc.org
|
|
COMMENT= Portable assembler for 16C84 series PICs
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
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
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/picasm.txt ${DOCSDIR}
|
|
.for EXAMPLE in ${EXAMPLE_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${EXAMPLE} ${EXAMPLESDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|