Makefile 776 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.36 2017/04/28 07:37:00 fcambus Exp $
  2. COMMENT= ARM/M88k/MIPS/PowerPC/SuperH machines emulator
  3. DISTNAME = gxemul-0.6.0.1
  4. CATEGORIES= emulators
  5. REVISION = 1
  6. HOMEPAGE= http://gxemul.sourceforge.net/
  7. # BSD
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gxemul/}
  10. WANTLIB = c m ${LIBCXX}
  11. CONFIGURE_STYLE= simple
  12. FLAVORS= no_x11
  13. FLAVOR?=
  14. .if ${FLAVOR:Mno_x11}
  15. CONFIGURE_ARGS= --disable-x
  16. .else
  17. WANTLIB+= X11
  18. .endif
  19. NO_TEST= Yes
  20. INSTALL_STRIP=
  21. do-install:
  22. ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gxemul
  24. ${INSTALL_DATA} ${WRKSRC}/doc/*.{gif,png,html} \
  25. ${PREFIX}/share/doc/gxemul
  26. ${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${PREFIX}/man/man1
  27. .include <bsd.port.mk>