summaryrefslogtreecommitdiffstats
path: root/lang/intel2gas/Makefile
blob: ee3b1c08b326de74430ebff74718a9c996ae137f (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
35
36
# New ports collection makefile for:	intel2gas
# Date created:		12 May 1999
# Whom:			G. Adam Stanislav
#
# $FreeBSD$
#

PORTNAME=	intel2gas
PORTVERSION=	1.3.3
CATEGORIES=	lang
MASTER_SITES=	http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/

MAINTAINER=	ports@FreeBSD.Org

PORTCOMMENT=	Converts Intel assembly language (nasm) to AT&T syntax (gas)

GNU_CONFIGURE=	yes
MAKE_ARGS=	CXX="${CXX}"

DATAPREFIX=	${PREFIX}/share/intel2gas
DATADIRS=	i2g g2i m2g
DOCS=		BUGS DATAFILES README

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/intel2gas ${PREFIX}/bin
	${MKDIR} ${DATAPREFIX}
.for dir in ${DATADIRS}
	${MKDIR} ${DATAPREFIX}/${dir}
	cd ${WRKSRC}; ${INSTALL_DATA} ${dir}/* ${DATAPREFIX}/${dir}
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/intel2gas
	cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/intel2gas
.endif

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