aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-10-06 21:47:51 +0800
committerjhale <jhale@FreeBSD.org>2012-10-06 21:47:51 +0800
commitd5336622921b9bca30752fec6865e5bffb6222f7 (patch)
tree82965c82a6328493f3176e6f7a9b96a3d582efa1 /games
parent1d1fa0269993204c305bc56985d2573514f0ce14 (diff)
downloadfreebsd-ports-gnome-d5336622921b9bca30752fec6865e5bffb6222f7.tar.gz
freebsd-ports-gnome-d5336622921b9bca30752fec6865e5bffb6222f7.tar.zst
freebsd-ports-gnome-d5336622921b9bca30752fec6865e5bffb6222f7.zip
- Remove LICENSE_FILES as the GPLv2 license is in the ports tree
- Update pkg-descr - Convert Makefile header to new format - Pass maintainership to submitter PR: ports/172192 Submitted by: nemysis <nemysis@gmx.ch> Approved by: makc (mentor)
Diffstat (limited to 'games')
-rw-r--r--games/empire/Makefile26
-rw-r--r--games/empire/pkg-descr21
2 files changed, 29 insertions, 18 deletions
diff --git a/games/empire/Makefile b/games/empire/Makefile
index 1212101cef43..8c93cdb745c1 100644
--- a/games/empire/Makefile
+++ b/games/empire/Makefile
@@ -11,17 +11,21 @@ CATEGORIES= games
MASTER_SITES= http://www.catb.org/~esr/vms-empire/
DISTNAME= vms-${PORTNAME}-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Solitaire empire game "VMS Empire"
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Simulation of a full-scale war between two emperors
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
MAKE_JOBS_SAFE= yes
MAN6= empire.6
-PORTDOCS= BUGS README
-PLIST_FILES= bin/empire
+
+PORTDOCS= AUTHORS BUGS NEWS README
+
+PLIST_FILES= bin/empire \
+ share/pixmaps/empire.png
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's/^CFLAGS/#CFLAGS/ ; \
@@ -30,12 +34,12 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin/empire
- ${INSTALL_MAN} ${WRKSRC}/empire.6 ${MAN6PREFIX}/man/man6/empire.6
-.if !defined(NOPORTDOCS)
-.for file in ${PORTDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+ ${INSTALL_MAN} ${MAN6:S|^|${WRKSRC}/|} ${MAN6PREFIX}/man/man6
+ ${INSTALL_DATA} ${WRKSRC}/empire-logo.png ${PREFIX}/share/pixmaps/empire.png
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/empire/pkg-descr b/games/empire/pkg-descr
index ce4c6637be2f..740070185491 100644
--- a/games/empire/pkg-descr
+++ b/games/empire/pkg-descr
@@ -1,10 +1,17 @@
+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.
+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.
WWW: http://www.catb.org/~esr/vms-empire/