Files
op 6427a0ced4 import billyfrontier-1.1.1
Billy Frontier is an arcade style action game with a "cowboys in
space" theme. You get to fight in duels, shootouts and stampedes.
It's the kind of game you'll want to pick up and play whenever you
get that twitch to just shoot something and blow stuff up!

port by izzy Meyer who is also taking MAINTAINER, thanks!
ok sebastia@
some nits tweaked by me.
2024-02-09 09:00:17 +00:00

51 lines
1.4 KiB
Makefile

COMMENT = quicktime space-age spaghetti western
V = 1.1.1
PKGNAME = billyfrontier-${V}
DIST_TUPLE += github jorio BillyFrontier v${V} .
DIST_TUPLE += github jorio Pomme 9fae17d7715314a3a20259ac2e87aa500a977695 \
extern/Pomme
CATEGORIES = games
HOMEPAGE = https://pangeasoft.net/billy
MAINTAINER = izzy Meyer <izder456@disroot.org>
# game: CC BY-NC-SA 4.0; extern/Pomme: MIT, LGPLv2.1, BSD, Boost
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} GL SDL2 c m
# C++20
COMPILER = base-clang ports-gcc
MODULES = devel/cmake
LIB_DEPENDS = devel/sdl2
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+4,-guic
CFLAGS += -I${X11BASE}/include
CXXFLAGS += -I${X11BASE}/include
CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${LOCALBASE}
pre-configure:
${SUBST_CMD} ${WRKSRC}/Source/Boot.cpp
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/BillyFrontier/
${INSTALL_DATA} ${WRKSRC}/*.md ${PREFIX}/share/doc/BillyFrontier/
${INSTALL_PROGRAM} ${WRKBUILD}/BillyFrontier ${PREFIX}/bin/
cp -R ${WRKBUILD}/Data ${PREFIX}/share/billyfrontier
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/512x512/apps/ \
${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/packaging/io.jor.billyfrontier.png \
${PREFIX}/share/icons/hicolor/512x512/apps/
${INSTALL_DATA} ${WRKSRC}/packaging/io.jor.billyfrontier.desktop \
${PREFIX}/share/applications/
.include <bsd.port.mk>