aboutsummaryrefslogtreecommitdiff
path: root/games/simsu
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-11-27 11:49:17 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-11-27 11:49:17 +0000
commit350ea72560243adcb3ca68fbed4510de664b9eea (patch)
treeee37f0e3a4ac2cf431927ab3184c0361b9b3e859 /games/simsu
parentc0a19567dda30ac507a6967d4fcfdac2fb6c8abc (diff)
downloadports-350ea72560243adcb3ca68fbed4510de664b9eea.tar.gz
ports-350ea72560243adcb3ca68fbed4510de664b9eea.zip
Notes
Diffstat (limited to 'games/simsu')
-rw-r--r--games/simsu/Makefile16
-rw-r--r--games/simsu/pkg-plist22
2 files changed, 7 insertions, 31 deletions
diff --git a/games/simsu/Makefile b/games/simsu/Makefile
index 68c52171a94b..d60f4acb84c7 100644
--- a/games/simsu/Makefile
+++ b/games/simsu/Makefile
@@ -1,4 +1,4 @@
-# Created by: nemysis@gmx.ch
+# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$
PORTNAME= simsu
@@ -8,7 +8,7 @@ CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
-MAINTAINER= nemysis@gmx.ch
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= Basic Sudoku game
LICENSE= GPLv3
@@ -20,15 +20,13 @@ INSTALLS_ICONS= yes
PORTDOCS= CREDITS ChangeLog
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-install:
- ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
-.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>
diff --git a/games/simsu/pkg-plist b/games/simsu/pkg-plist
index 5811c0f506cf..a849a9a3386a 100644
--- a/games/simsu/pkg-plist
+++ b/games/simsu/pkg-plist
@@ -25,25 +25,3 @@ share/pixmaps/simsu.xpm
%%DATADIR%%/translations/simsu_uk.qm
@dirrm %%DATADIR%%/translations
@dirrm %%DATADIR%%
-@dirrmtry share/icons/hicolor/scalable/apps
-@dirrmtry share/icons/hicolor/scalable
-@dirrmtry share/icons/hicolor/64x64/apps
-@dirrmtry share/icons/hicolor/64x64
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/256x256/apps
-@dirrmtry share/icons/hicolor/256x256
-@dirrmtry share/icons/hicolor/24x24/apps
-@dirrmtry share/icons/hicolor/24x24
-@dirrmtry share/icons/hicolor/22x22/apps
-@dirrmtry share/icons/hicolor/22x22
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor/128x128/apps
-@dirrmtry share/icons/hicolor/128x128
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
-@exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true