aboutsummaryrefslogtreecommitdiff
path: root/devel/asmx/Makefile
blob: 59032ec89649743497dcdd205a30105f9fdec19f (plain) (blame)
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
PORTNAME=	asmx
PORTVERSION=	2.0.0
CATEGORIES=	devel
MASTER_SITES=	http://xi6.com/files/

MAINTAINER=	tiga@FreeBSD.org
COMMENT=	Multi-CPU macro assembler for many major 8-bit and 16-bit CPUs
WWW=		http://xi6.com/projects/asmx/

LICENSE=	PD

USES=		zip
NO_WRKSUBDIR=	yes

do-build:
	cd ${BUILD_WRKSRC}/src && ${CC} ${CFLAGS} *.c -o asmx

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/asmx ${STAGEDIR}${PREFIX}/bin
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asmx
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/asmx-doc.html ${STAGEDIR}${DOCSDIR}

do-test:
	@cd ${BUILD_WRKSRC}/test && ${SHELL} testit

.include <bsd.port.mk>