2007-09-15 20:27:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2007/09/16 00:27:05 merdely Exp $
|
2002-03-02 14:24:50 -05:00
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT= convert Intel assembly language (nasm) to AT&T syntax (gas)
|
2002-03-02 14:24:50 -05:00
|
|
|
|
|
|
|
VERSION= 1.3.3
|
|
|
|
DISTNAME= intel2gas-${VERSION}
|
|
|
|
CATEGORIES= lang
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-02-24 08:20:41 -05:00
|
|
|
WANTLIB= c stdc++ m
|
2002-03-02 14:24:50 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
MAKE_FLAGS= CXX="${CXX}"
|
|
|
|
|
|
|
|
DATAPREFIX= ${PREFIX}/share/intel2gas
|
|
|
|
DATADIRS= i2g g2i m2g
|
|
|
|
DOCS= BUGS DATAFILES README
|
|
|
|
|
|
|
|
do-install:
|
2002-03-02 14:38:04 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/intel2gas ${PREFIX}/bin
|
2002-03-02 14:24:50 -05:00
|
|
|
${INSTALL_DATA_DIR} ${DATAPREFIX}
|
|
|
|
.for dir in ${DATADIRS}
|
|
|
|
${INSTALL_DATA_DIR} ${DATAPREFIX}/${dir}
|
|
|
|
@cd ${WRKSRC}; ${INSTALL_DATA} ${dir}/* ${DATAPREFIX}/${dir}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/intel2gas
|
|
|
|
@cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/intel2gas
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|