1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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
This commit is contained in:
Rusmir Dusko 2014-05-22 18:13:47 +00:00
parent dad56de5a6
commit 20963ee72d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354878
3 changed files with 7 additions and 23 deletions

View File

@ -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/

View File

@ -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

View File

@ -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