summaryrefslogblamecommitdiff
path: root/lang/intel2gas/Makefile
blob: 0c9f7d1af37b338d289a172170af77b3d86de3dc (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 


                                         
           

 
                         
                     
                    
                                                                 
 
                                 
                                                                            

                   
                            
 


                                         

           




                                                                   
       

                                              
                                                                           


                      
# 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>