svn commit: r470122 - in head/games/julius: . files

Vanilla I. Shu vanilla at FreeBSD.org
Wed May 16 13:35:24 UTC 2018


Author: vanilla
Date: Wed May 16 13:35:23 2018
New Revision: 470122
URL: https://svnweb.freebsd.org/changeset/ports/470122

Log:
  1: add PKGNAMESUFFIX.
  2: remove uneeded julius.in.
  
  PR:		228103
  Submitted by:	maintainer

Deleted:
  head/games/julius/files/julius.in
Modified:
  head/games/julius/Makefile
  head/games/julius/files/pkg-message.in

Modified: head/games/julius/Makefile
==============================================================================
--- head/games/julius/Makefile	Wed May 16 13:27:13 2018	(r470121)
+++ head/games/julius/Makefile	Wed May 16 13:35:23 2018	(r470122)
@@ -2,7 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	julius
+PKGNAMESUFFIX=	-caesariii
 PORTVERSION=	g20180430
+PORTREVISION=	1
 CATEGORIES=	games
 
 MAINTAINER=	pkubaj at 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>

Modified: head/games/julius/files/pkg-message.in
==============================================================================
--- head/games/julius/files/pkg-message.in	Wed May 16 13:27:13 2018	(r470121)
+++ head/games/julius/files/pkg-message.in	Wed May 16 13:35:23 2018	(r470122)
@@ -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.


More information about the svn-ports-all mailing list