aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-05-23 02:13:47 +0800
committernemysis <nemysis@FreeBSD.org>2014-05-23 02:13:47 +0800
commit28dd44fe9c1c5ccac291f9dda9400168e87d6808 (patch)
treee6133b70a4eca1588598983d855af6e6b3a9d110 /games
parent80398207ca6945e9c440f04cef2b2cec03c56645 (diff)
downloadfreebsd-ports-gnome-28dd44fe9c1c5ccac291f9dda9400168e87d6808.tar.gz
freebsd-ports-gnome-28dd44fe9c1c5ccac291f9dda9400168e87d6808.tar.zst
freebsd-ports-gnome-28dd44fe9c1c5ccac291f9dda9400168e87d6808.zip
- Update to 1.12, Announce message:
Incorporated Dennis Pinckard's fix for a Mac OS/X port bug. Added desktop file. Clean up code to modern C, apply cppcheck. Fix code typo reported as Debian bug #593434 - Don't silence warnings - Add HACKING to DOCS - Remove PORTSCOUT - Break lines around 80 characters - Remove Desktop entry file, use supplied desktop files
Diffstat (limited to 'games')
-rw-r--r--games/empire/Makefile16
-rw-r--r--games/empire/distinfo4
-rw-r--r--games/empire/files/empire.desktop10
3 files changed, 7 insertions, 23 deletions
diff --git a/games/empire/Makefile b/games/empire/Makefile
index 8d55dab19b19..488aa5871b1d 100644
--- a/games/empire/Makefile
+++ b/games/empire/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= empire
-PORTVERSION= 1.10
-PORTREVISION= 1
+PORTVERSION= 1.12
CATEGORIES= games
MASTER_SITES= http://www.catb.org/~esr/vms-empire/
DISTNAME= vms-${PORTNAME}-${PORTVERSION}
@@ -13,15 +12,9 @@ COMMENT= Simulation of a full-scale war between two emperors
LICENSE= GPLv2
-CFLAGS+= -w
-
-PORTDOCS= AUTHORS BUGS NEWS README
-
+PORTDOCS= AUTHORS BUGS HACKING NEWS README
OPTIONS_DEFINE= DOCS
-# Wrong versioning upstream
-PORTSCOUT= skipv:1.11
-
PLIST_FILES= bin/${PORTNAME} \
man/man6/${PORTNAME}.6.gz \
share/applications/${PORTNAME}.desktop \
@@ -33,8 +26,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|static void|void|g' ${WRKSRC}/game.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
- ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
+ ${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/
diff --git a/games/empire/distinfo b/games/empire/distinfo
index 51b26a01a8e3..70d6988e1fb1 100644
--- a/games/empire/distinfo
+++ b/games/empire/distinfo
@@ -1,2 +1,2 @@
-SHA256 (vms-empire-1.10.tar.gz) = a5707ffae86c88a54d13566c1134a946501757581b605fb6b24e407e5004bce4
-SIZE (vms-empire-1.10.tar.gz) = 97433
+SHA256 (vms-empire-1.12.tar.gz) = b3bdca36b767ba3b2b3afca9fecbb1e0ac983fb34f7c8d3c25b20423eed4c1f2
+SIZE (vms-empire-1.12.tar.gz) = 108417
diff --git a/games/empire/files/empire.desktop b/games/empire/files/empire.desktop
deleted file mode 100644
index 3d1773ff3480..000000000000
--- a/games/empire/files/empire.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=1.0
-Name=Empire
-GenericName=Empire
-Comment=Simulation of a full-scale war between two emperors
-Icon=empire
-Exec=empire
-Categories=Game;ArcadeGame;
-Terminal=true