Add desktop goo, ok deanna@

This commit is contained in:
ian 2008-01-19 21:21:55 +00:00
parent 83335cf2ad
commit b69552bb88
3 changed files with 27 additions and 3 deletions

View File

@ -1,4 +1,5 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/18 03:36:32 deanna Exp $
# $OpenBSD: Makefile,v 1.2 2008/01/19 21:21:55 ian Exp $
COMMENT= city-building simulation
DISTNAME= micropolis-activity-source
@ -20,7 +21,8 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_X11= Yes
RUN_DEPENDS= ::audio/esound
RUN_DEPENDS= ::audio/esound \
::devel/desktop-file-utils
WANTLIB= c m X11 Xext Xpm
@ -52,5 +54,9 @@ do-install:
find manual -type f -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/micropolis/{} \;
@${INSTALL_SCRIPT} ${WRKSRC}/Micropolis ${PREFIX}/bin/micropolis
@${INSTALL_PROGRAM} ${WRKSRC}/src/sim/sim ${PREFIX}/libexec/sim
@${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/
@${INSTALL_DATA} ${WRKSRC}/Micropolis.png ${PREFIX}/share/pixmaps/micropolis.png
@${INSTALL_DATA_DIR} ${PREFIX}/share/applications
@${INSTALL_DATA} ${FILESDIR}/micropolis.desktop ${PREFIX}/share/applications
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Micropolis
GenericName=Micropolis City Simulation Game
Comment=City simulation game, open sourced from original SimCity(tm)
Icon=micropolis.png
Exec=micropolis
Terminal=false
StartupNotify=false
Categories=Game;Simulation;

View File

@ -1,6 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/18 03:36:32 deanna Exp $
@comment $OpenBSD: PLIST,v 1.2 2008/01/19 21:21:55 ian Exp $
bin/micropolis
libexec/sim
share/applications/
share/applications/micropolis.desktop
share/doc/micropolis/
share/doc/micropolis/manual/
share/doc/micropolis/manual/Ask.html
@ -570,3 +572,7 @@ share/micropolis/res/wscen.tcl
share/micropolis/res/wscen_old.tcl
share/micropolis/res/wscen_older.tcl
share/micropolis/res/wsplash.tcl
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database
share/pixmaps/
share/pixmaps/micropolis.png