Makefile 938 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.1.1.1 2016/10/17 06:30:01 bentley Exp $
  2. COMMENT = Sega Genesis core for retroarch
  3. DISTNAME = libretro-genesis-plus-gx-1.7.4pl20160815
  4. GH_ACCOUNT = ekeeke
  5. GH_PROJECT = Genesis-Plus-GX
  6. GH_COMMIT = 446d9aa61f1f3633b142cc4df0420ebd0b66813f
  7. CATEGORIES = emulators
  8. HOMEPAGE = https://bitbucket.org/eke/genesis-plus-gx
  9. # Noncommercial redistribution and modification explicitly allowed: LICENSE.txt
  10. PERMIT_PACKAGE_CDROM = Noncommercial
  11. PERMIT_PACKAGE_FTP = Yes
  12. WANTLIB += m
  13. MAKE_FLAGS = CC="${CC}" \
  14. CFLAGS="${CFLAGS} -fPIC"
  15. USE_GMAKE = Yes
  16. NO_TEST = Yes
  17. MAKE_FILE = Makefile.libretro
  18. do-install:
  19. ${INSTALL_DATA_DIR} ${PREFIX}/lib/libretro
  20. ${INSTALL_DATA} ${WRKSRC}/genesis_plus_gx_libretro.so \
  21. ${PREFIX}/lib/libretro
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libretro-genesis-plus-gx
  23. ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt \
  24. ${PREFIX}/share/doc/libretro-genesis-plus-gx
  25. .include <bsd.port.mk>