Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2014 08:06:56 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374736 - in head: . games games/empire games/vms-empire
Message-ID:  <201412150806.sBF86uSc023661@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Mon Dec 15 08:06:55 2014
New Revision: 374736
URL: https://svnweb.freebsd.org/changeset/ports/374736
QAT: https://qat.redports.org/buildarchive/r374736/

Log:
  - Update to 1.13, announce message:
    Comment on entry to and exit from edit mode.
    Cleaned up packaging and install/uninstall productions.
  
  - Rename from games/empire to games/vms-empire to match Upstream name
  - Remove DISTNAME
  - Change PLIST_FILES, changed by me and Upstream
  - Remove obsolete REINPLACE
  - Simplify installation handling, changed by me and Upstream
  - Add REINPLACE, fix GNU/Linux paths
  - Strip executable
  - Change pkg-descr

Added:
  head/games/vms-empire/
     - copied from r374734, head/games/empire/
Deleted:
  head/games/empire/
Modified:
  head/MOVED
  head/games/Makefile
  head/games/vms-empire/Makefile
  head/games/vms-empire/distinfo
  head/games/vms-empire/pkg-descr

Modified: head/MOVED
==============================================================================
--- head/MOVED	Mon Dec 15 07:34:31 2014	(r374735)
+++ head/MOVED	Mon Dec 15 08:06:55 2014	(r374736)
@@ -7318,3 +7318,4 @@ www/twig-php||2014-12-08|Removed, as it 
 net/ntp-rc|net/ntp-devel|2014-12-11|Upline uses devel and relesae candidate interchangably.
 textproc/xerces-c2|textproc/xerces-c3|2014-12-12|Unused, conflicting with xerces-c3
 textproc/xerces-c2-devel|textproc/xerces-c3|2014-12-12|Unused, conflicting with xerces-c3
+games/empire|games/vms-empire|2014-12-15|Moved to match upstream name

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Mon Dec 15 07:34:31 2014	(r374735)
+++ head/games/Makefile	Mon Dec 15 08:06:55 2014	(r374736)
@@ -224,7 +224,6 @@
     SUBDIR += el
     SUBDIR += el-data
     SUBDIR += ember
-    SUBDIR += empire
     SUBDIR += endgame-singularity
     SUBDIR += endgame-singularity-music
     SUBDIR += enigma
@@ -1034,6 +1033,7 @@
     SUBDIR += wmpuzzle
     SUBDIR += wmqstat
     SUBDIR += wmquake
+    SUBDIR += vms-empire
     SUBDIR += wmshuffle
     SUBDIR += wmtictactoe
     SUBDIR += wolfpack

Modified: head/games/vms-empire/Makefile
==============================================================================
--- head/games/empire/Makefile	Mon Dec 15 03:51:04 2014	(r374734)
+++ head/games/vms-empire/Makefile	Mon Dec 15 08:06:55 2014	(r374736)
@@ -1,11 +1,10 @@
 # Created by: Andrey Zakhvatov
 # $FreeBSD$
 
-PORTNAME=	empire
-PORTVERSION=	1.12
+PORTNAME=	vms-empire
+PORTVERSION=	1.13
 CATEGORIES=	games
 MASTER_SITES=	http://www.catb.org/~esr/vms-empire/
-DISTNAME=	vms-${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Simulation of a full-scale war between two emperors
@@ -17,22 +16,19 @@ OPTIONS_DEFINE=	DOCS
 
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man6/${PORTNAME}.6.gz \
-		share/applications/${PORTNAME}.desktop \
-		share/pixmaps/${PORTNAME}.png
+		share/appdata/${PORTNAME}.xml \
+		${DESKTOPDIR}/${PORTNAME}.desktop \
+		share/icons/hicolor/48x48/apps/${PORTNAME}.png
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS| ; \
-		s|-lncurses|-lcurses|' ${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's|static void|void|g' ${WRKSRC}/game.c
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/vms-empire \
-		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
-	${INSTALL_DATA} ${WRKSRC}/empire-logo.png \
-		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
+	@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|; \
+	s|/usr/bin|${PREFIX}/bin|; \
+	s|/usr/share/|${PREFIX}/share/|; \
+	s|/usr/local/share/man|${PREFIX}/man|' \
+	${WRKSRC}/Makefile
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 

Modified: head/games/vms-empire/distinfo
==============================================================================
--- head/games/empire/distinfo	Mon Dec 15 03:51:04 2014	(r374734)
+++ head/games/vms-empire/distinfo	Mon Dec 15 08:06:55 2014	(r374736)
@@ -1,2 +1,2 @@
-SHA256 (vms-empire-1.12.tar.gz) = b3bdca36b767ba3b2b3afca9fecbb1e0ac983fb34f7c8d3c25b20423eed4c1f2
-SIZE (vms-empire-1.12.tar.gz) = 108417
+SHA256 (vms-empire-1.13.tar.gz) = 8d461266a9d469646e9d55f74e41014babd83a93ad2e75736b1e8523bffca181
+SIZE (vms-empire-1.13.tar.gz) = 109310

Modified: head/games/vms-empire/pkg-descr
==============================================================================
--- head/games/empire/pkg-descr	Mon Dec 15 03:51:04 2014	(r374734)
+++ head/games/vms-empire/pkg-descr	Mon Dec 15 08:06:55 2014	(r374736)
@@ -1,17 +1,8 @@
+The ancestor of all 4x (expand/explore/exploit/exterminate) games.
 VMS-Empire is a simulation of a full-scale war between two emperors,
 the computer and you. Naturally, there is only room for one, so the
-object of the game is to destroy the other. The computer plays by
-the same rules that you do.  This game is the ancestor of all the
-multiplayer 4X simulations out there, including Civilization and
-Master of Orion.
-
-Apparently, this game was originally written outside of Digital,
-probably at a university. The game was ported to DEC's VAX/VMS from
-the TOPS-10/20 FORTRAN sources available around fall 1979. Ed James
-got hold of the sources at Berkeley and converted portions of the
-code to C, mostly to use curses for the screen handling. He published
-his modified sources on the net in December 1986.  Because this
-game ran on VMS machines for so long, a previous version is known
-as VMS Empire.
+object of the game is to destroy the other. The computer plays by the
+same rules that you do. This game is the ancestor of all the multiplayer
+4X simulations out there, including Civilization and Master of Orion.
 
 WWW: http://www.catb.org/~esr/vms-empire/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412150806.sBF86uSc023661>