Edit

IABSD.fr/ports/games/rftg/Makefile

Branch :

  • Show log

    Commit

  • Author : espie
    Date : 2023-09-26 09:41:31
    Hash : 3f481307
    Message : -> SITES

  • games/rftg/Makefile
  • V = 0.9.4
    COMMENT-client = race for the galaxy card game
    COMMENT-server = race for the galaxy card game, game server
    PKGNAME-client = rftg-$V
    CATEGORIES = games
    HOMEPAGE = http://keldon.net/rftg/
    DISTNAME = rftg-$V
    EXTRACT_SUFX = .tar.bz2
    SITES = 	${HOMEPAGE}
    MULTI_PACKAGES = -client #-server
    SUBPACKAGE ?= -client
    
    REVISION-client = 2
    #REVISION-server =
    
    # Licence: GPL
    # official authorization from the game publisher (Rio Grande)
    PERMIT_PACKAGE = Yes
    
    CONFIGURE_STYLE = gnu
    
    LIB_DEPENDS-client = x11/gtk+2
    
    LIB_DEPENDS-server = databases/mariadb
    
    .if ${MULTI_PACKAGES:M-server}
    
    CONFIGURE_ARGS += --enable-server
    CONFIGURE_ENV += LDFLAGS=-L${LOCALBASE}/lib CPPFLAGS=-I${LOCALBASE}/include
    MAKE_FLAGS = server_LDADD='-lmysqlclient -pthread'
    
    post-install:
    	${INSTALL_PROGRAM} ${WRKBUILD}/server ${PREFIX}/bin/rftg-server
    .endif
    
    cWANTLIB = c m pthread
    
    WANTLIB-client = ${cWANTLIB} X11 Xcomposite Xcursor Xdamage Xext \
    	Xfixes Xi Xinerama Xrandr Xrender atk-1.0 cairo fontconfig \
    	freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 \
    	gobject-2.0 gtk-x11-2.0 intl pango-1.0 \
    	pangocairo-1.0 pangoft2-1.0 \
    	z harfbuzz
    
    WANTLIB-server = ${cWANTLIB} c m pthread mysqlclient
    
    
    .include <bsd.port.mk>