mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Bump PORTREVISION
- Support STAGEDIR - Add files/empire.desktop Approved by: pawel / wg (mentors, implicit)
This commit is contained in:
parent
0d585ac82e
commit
6c3e67a3de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335788
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= empire
|
||||
PORTVERSION= 1.10
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.catb.org/~esr/vms-empire/
|
||||
DISTNAME= vms-${PORTNAME}-${PORTVERSION}
|
||||
@ -12,17 +13,14 @@ COMMENT= Simulation of a full-scale war between two emperors
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
MAN6= empire.6
|
||||
|
||||
PORTDOCS= AUTHORS BUGS NEWS README
|
||||
|
||||
PLIST_FILES= bin/empire \
|
||||
share/pixmaps/empire.png
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
man/man6/${PORTNAME}.6.gz \
|
||||
share/applications/${PORTNAME}.desktop \
|
||||
share/pixmaps/${PORTNAME}.png
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/^CFLAGS/#CFLAGS/ ; \
|
||||
@ -30,13 +28,12 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's/static void/void/g' ${WRKSRC}/game.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin/${PORTNAME}
|
||||
${INSTALL_MAN} ${MAN6:S|^|${WRKSRC}/|} ${MAN6PREFIX}/man/man6
|
||||
${INSTALL_DATA} ${WRKSRC}/empire-logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
${INSTALL_DATA} ${FILESDIR}/${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/
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
10
games/empire/files/empire.desktop
Normal file
10
games/empire/files/empire.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[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
|
Loading…
Reference in New Issue
Block a user