aboutsummaryrefslogtreecommitdiff
path: root/games/julius
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2018-05-16 13:35:23 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2018-05-16 13:35:23 +0000
commitb6b3b83718d041c1e423ba5a6999f4badcf2acc8 (patch)
tree91cabcd11b8dcf3839245e26100fa6b481ea3759 /games/julius
parent1fe6f5912eb9dad8d5b573b5cc0090b582199705 (diff)
Notes
Diffstat (limited to 'games/julius')
-rw-r--r--games/julius/Makefile12
-rw-r--r--games/julius/files/julius.in3
-rw-r--r--games/julius/files/pkg-message.in3
3 files changed, 7 insertions, 11 deletions
diff --git a/games/julius/Makefile b/games/julius/Makefile
index 5e1da8e2842d..f57b84856270 100644
--- a/games/julius/Makefile
+++ b/games/julius/Makefile
@@ -2,7 +2,9 @@
# $FreeBSD$
PORTNAME= julius
+PKGNAMESUFFIX= -caesariii
PORTVERSION= g20180430
+PORTREVISION= 1
CATEGORIES= games
MAINTAINER= pkubaj@anongoth.pl
@@ -18,16 +20,12 @@ GH_TAGNAME= cb7ecdf
USE_SDL= mixer2 sdl2
-SUB_FILES= julius pkg-message
+SUB_FILES= pkg-message
-PLIST_FILES= bin/${PORTNAME} \
- ${DATADIR}/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME}
do-install:
- ${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \
- ${STAGEDIR}${DATADIR}/
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \
- ${STAGEDIR}${PREFIX}/bin/
+ ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/games/julius/files/julius.in b/games/julius/files/julius.in
deleted file mode 100644
index 1dfb2919f6fe..000000000000
--- a/games/julius/files/julius.in
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-cd %%PREFIX%%/share/julius && ./julius data
diff --git a/games/julius/files/pkg-message.in b/games/julius/files/pkg-message.in
index 314ce142b1a3..2535e28eedcf 100644
--- a/games/julius/files/pkg-message.in
+++ b/games/julius/files/pkg-message.in
@@ -1 +1,2 @@
-To play this game, copy Caesar III game files to %%DATADIR%%/data.
+To play this game, you need to cd to the directory with the game files
+and run julius or just pass the directory as a 1st argument.