summaryrefslogtreecommitdiff
path: root/devel/z80-asm/Makefile
blob: 09cdbe44dcf3cea73e24fe2be5ebf37dcdea9f3d (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
# $NetBSD: Makefile,v 1.9 2008/03/03 17:45:38 jlam Exp $
#

DISTNAME=	z80-asm-1.0
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://virtus.ath.cx/z80/

MAINTAINER=	virtus@wanadoo.nl
HOMEPAGE=	http://artax.karlin.mff.cuni.cz/~brain/
COMMENT=	Z80 assembly code assembler and disassembler

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=	yes
USE_TOOLS+=	gmake

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/z80-asm ${DESTDIR}${PREFIX}/bin/z80-asm
	${INSTALL_PROGRAM} ${WRKSRC}/z80-dis ${DESTDIR}${PREFIX}/bin/z80-dis
	${INSTALL_DATA} ${WRKSRC}/doc/z80-asm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA} ${WRKSRC}/doc/z80-dis.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA} ${WRKSRC}/doc/z80-asm.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
	${INSTALL_DATA} ${WRKSRC}/doc/z80-file.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5

.include "../../mk/bsd.pkg.mk"