Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.8 2017/04/10 11:46:19 sthen Exp $
  2. COMMENT = puzzle/platform game
  3. DISTNAME = meandmyshadow-0.4.1-src
  4. CATEGORIES = games
  5. PKGNAME = ${DISTNAME:S/-src//}
  6. REVISION = 0
  7. HOMEPAGE = http://meandmyshadow.sourceforge.net/
  8. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=meandmyshadow/}
  9. # GPLv3 (some fonts/data CCY-BY-SA/OFL)
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WRKDIST = ${WRKDIR}/${DISTNAME:S/-src//}
  12. MODULES = devel/cmake
  13. LIB_DEPENDS = net/curl \
  14. devel/sdl-gfx \
  15. devel/sdl-mixer \
  16. devel/sdl-image \
  17. devel/sdl-ttf \
  18. archivers/libarchive
  19. WANTLIB += SDL SDL_gfx SDL_image SDL_mixer SDL_ttf archive c crypto
  20. WANTLIB += curl m pthread ssl ${LIBCXX} GL GLU ICE SM X11 Xext
  21. RUN_DEPENDS = devel/desktop-file-utils \
  22. x11/gtk+3,-guic
  23. post-install:
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
  25. ${INSTALL_DATA} ${WRKSRC}/meandmyshadow.desktop \
  26. ${PREFIX}/share/applications
  27. .for i in 16x16 32x32 48x48 64x64
  28. ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/${i}/apps
  29. ${INSTALL_DATA} ${WRKSRC}/icons/${i}/meandmyshadow.png \
  30. ${PREFIX}/share/icons/hicolor/${i}/apps/
  31. .endfor
  32. .include <bsd.port.mk>