~cypheon/pkgsrc-wip

pkgsrc-wip/fasm/Makefile -rw-r--r-- 679 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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.14 2012/09/28 23:21:47 asau Exp $
#

DISTNAME=		fasm-1.70.02
CATEGORIES=		devel
MASTER_SITES=		http://flatassembler.net/

MAINTAINER=		athaba@users.sourceforge.net
HOMEPAGE=		https://flatassembler.net/
COMMENT=		Open source assembly language compiler
LICENSE=		modified-bsd

ONLY_FOR_PLATFORM=	*-*-i386 *-*-x86_64

WRKSRC=			${WRKDIR}/fasm
USE_LANGUAGES=		c
NO_CONFIGURE=		yes

INSTALLATION_DIRS=	bin share/doc/fasm

do-build:
	cd ${WRKSRC} && ${CC} -m32 ${CFLAGS} fasm.o -o fasm

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fasm ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/fasm.txt ${DESTDIR}${PREFIX}/share/doc/fasm

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