aboutsummaryrefslogtreecommitdiff
path: root/games/holotz-castle/Makefile
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2013-03-22 05:29:06 +0000
committerBeech Rintoul <beech@FreeBSD.org>2013-03-22 05:29:06 +0000
commit0e4072ab534dc89c482277e9a39229cac991bab1 (patch)
tree4bd6cffd9fc51590145942cc868da3e105455070 /games/holotz-castle/Makefile
parentdbee873e6c211e9432ad01f179f802fcee8d59f0 (diff)
downloadports-0e4072ab534dc89c482277e9a39229cac991bab1.tar.gz
ports-0e4072ab534dc89c482277e9a39229cac991bab1.zip
Notes
Diffstat (limited to 'games/holotz-castle/Makefile')
-rw-r--r--games/holotz-castle/Makefile40
1 files changed, 34 insertions, 6 deletions
diff --git a/games/holotz-castle/Makefile b/games/holotz-castle/Makefile
index a59b4f5f7c81..e42d5cc8afcd 100644
--- a/games/holotz-castle/Makefile
+++ b/games/holotz-castle/Makefile
@@ -2,14 +2,19 @@
# $FreeBSD$
PORTNAME= holotz-castle
-PORTVERSION= 1.3.13
-PORTREVISION= 7
+PORTVERSION= 1.3.14
CATEGORIES= games
-MASTER_SITES= http://www.mainreactor.net/holotzcastle/download/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+MASTER_SITES= http://www.mainreactor.net/holotzcastle/download/ \
+ SF/nemysisfreebsdp/:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
+ ${PORTNAME}_icons${EXTRACT_SUFX}:icons
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A platform game with high doses of mystery
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Platform game with high doses of mystery
+
+LICENSE= GPLv2
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
MAKE_ARGS= HC_BASE=${PREFIX}/share/${PORTNAME}/ HC_BIN_DIR=${PREFIX}/bin/
MAKE_JOBS_UNSAFE= yes
@@ -18,4 +23,27 @@ USE_GL= gl
USE_SDL= image mixer sdl ttf
USE_GMAKE= yes
+MAN6= ${PORTNAME}.6 ${PORTNAME}-editor.6
+
+INSTALLS_ICONS= yes
+ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
+
+SUB_FILES= pkg-message
+
+DESKTOP_ENTRIES="Holotz's Castle" "${COMMENT}" ${PORTNAME} \
+ "${PORTNAME}" "Game;LogicGame;" false
+
+post-install:
+.for s in ${ICON_SIZES}
+ ${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
+ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
+ ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
+.endfor
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
+ (cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN6} ${MAN6PREFIX}/man/man6)
+
+ @${ECHO_CMD}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
+
.include <bsd.port.mk>