summaryrefslogtreecommitdiffstats
path: root/devel/picasm/Makefile
blob: bf8e88a690ed69a96a726356b952b9dbf84df373 (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
29
30
31
32
33
34
# New ports collection makefile for:    picasm
# Date created:         25 October 2002
# Whom:                 Bruce M Simpson <bms@spc.org>
#
# $FreeBSD$
#

PORTNAME=	picasm
PORTVERSION=	1.05
CATEGORIES=	devel
MASTER_SITES=	http://www.iki.fi/hyvatti/pic/	\
		http://hyvatti.iki.fi/~jaakko/pic/
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}

MAINTAINER=	bms@spc.org

NO_WRKSUBDIR=	yes
MAKEFILE=	makefile.uni
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET=

EXAMPLE_FILES=	example.asm morse.asm morse.h pic16c84.h picmac.h

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/picasm ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKDIR}/picasm.doc ${DOCSDIR}
.for EXAMPLE in ${EXAMPLE_FILES}
	${INSTALL_DATA} ${WRKDIR}/examples/${EXAMPLE} ${EXAMPLESDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud