Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.37 2016/11/04 11:35:18 sthen Exp $
  2. COMMENT= graphical networked AD&D style game
  3. VERSION= 1.71.0
  4. DISTNAME= crossfire-client-${VERSION}
  5. CATEGORIES= games x11
  6. REVISION= 0
  7. HOMEPAGE= http://crossfire.real-time.com/
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += GL GLU SDL SDL_image SDL_mixer X11 Xcomposite Xcursor Xdamage
  11. WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo crypto
  12. WANTLIB += curl fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
  13. WANTLIB += glib-2.0 gobject-2.0 gtk-x11-2.0 m nghttp2 pango-1.0
  14. WANTLIB += pangocairo-1.0 pangoft2-1.0 png pthread ssl z
  15. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=crossfire/}
  16. DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
  17. crossfire-client-images-${VERSION}${EXTRACT_SUFX}
  18. EXTRACT_SUFX= .tar.bz2
  19. MODULES= devel/gettext
  20. LIB_DEPENDS= devel/sdl-image \
  21. devel/sdl-mixer \
  22. net/curl \
  23. x11/gtk+2
  24. CONFIGURE_STYLE=gnu
  25. IMG= bmaps.client crossfire.base crossfire.clsc
  26. post-install:
  27. ${INSTALL_DATA_DIR} ${PREFIX}/share/crossfire-client
  28. .for file in ${IMG}
  29. ${INSTALL_DATA} ${WRKDIR}/${file} ${PREFIX}/share/crossfire-client
  30. .endfor
  31. .include <bsd.port.mk>