Makefile 869 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.8 2017/04/10 11:46:22 sthen Exp $
  2. COMMENT= convert Intel assembly language (nasm) to AT&T syntax (gas)
  3. VERSION= 1.3.3
  4. DISTNAME= intel2gas-${VERSION}
  5. CATEGORIES= lang
  6. HOMEPAGE= http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/
  7. MASTER_SITES= ${HOMEPAGE}
  8. # GPL
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c ${LIBCXX} m
  11. NO_TEST= Yes
  12. CONFIGURE_STYLE=gnu
  13. MAKE_FLAGS= CXX="${CXX}"
  14. DATAPREFIX= ${PREFIX}/share/intel2gas
  15. DATADIRS= i2g g2i m2g
  16. DOCS= BUGS DATAFILES README
  17. do-install:
  18. ${INSTALL_PROGRAM} ${WRKSRC}/intel2gas ${PREFIX}/bin
  19. ${INSTALL_DATA_DIR} ${DATAPREFIX}
  20. .for dir in ${DATADIRS}
  21. ${INSTALL_DATA_DIR} ${DATAPREFIX}/${dir}
  22. @cd ${WRKSRC}; ${INSTALL_DATA} ${dir}/* ${DATAPREFIX}/${dir}
  23. .endfor
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/intel2gas
  25. @cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/intel2gas
  26. .include <bsd.port.mk>