aboutsummaryrefslogtreecommitdiffstats
path: root/lang/intel2gas/Makefile
blob: b28aa74ffad9b5a7d6fe8d1d117979b19b804a75 (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
28
29
30
31
32
33
34
35
# 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
COMMENT=    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>