summaryrefslogtreecommitdiff
path: root/cross/atasm/Makefile
blob: d8df3d3232523e6aefab1e32fb6190e5edc15cbf (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
# $NetBSD: Makefile,v 1.8 2008/06/20 01:09:10 joerg Exp $
#

DISTNAME=	atasm104
PKGNAME=	atasm-1.04
PKGREVISION=	2
CATEGORIES=	devel cross emulators
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=atasm/}
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://sourceforge.net/projects/atasm/
COMMENT=	Cross-assembler for 6502 optimized to code for Atari 8 bit computers

PKG_INSTALLATION_TYPES=	overwrite pkgviews
PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/${DISTNAME}/src
NO_CONFIGURE=	YES

DOCDIR=		${PREFIX}/share/doc/atasm

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

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/atasm ${DESTDIR}${PREFIX}/bin/atasm
	${SED} -e 's,%%DOCDIR%%,${DOCDIR},g' < ${WRKSRC}/atasm.1.in > ${WRKSRC}/atasm.1
	${INSTALL_DATA} ${WRKSRC}/atasm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/atasm.txt ${DESTDIR}${DOCDIR}

.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"