aboutsummaryrefslogtreecommitdiff
path: root/games/unknown-horizons/Makefile
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-07-22 18:21:34 +0000
committerRene Ladan <rene@FreeBSD.org>2014-07-22 18:21:34 +0000
commit9ed08125865ba23226411feb07440c7bf78e57bd (patch)
tree0e25de648128dc78c06eeddf5d3e44eeb02f6b21 /games/unknown-horizons/Makefile
parent4a1c98defe660156a3dd5c615b27cadeea531ec1 (diff)
downloadports-9ed08125865ba23226411feb07440c7bf78e57bd.tar.gz
ports-9ed08125865ba23226411feb07440c7bf78e57bd.zip
- Update to 2013.3
- Swith from Sourceforge to GitHub PR: 190463 Submitted by: <fizologus@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=362566
Diffstat (limited to 'games/unknown-horizons/Makefile')
-rw-r--r--games/unknown-horizons/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/games/unknown-horizons/Makefile b/games/unknown-horizons/Makefile
index 9b1ea7bb9dd6..b2f9bb07ab93 100644
--- a/games/unknown-horizons/Makefile
+++ b/games/unknown-horizons/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= unknown-horizons
-PORTVERSION= 2013.2
-PORTREVISION= 1
+PORTVERSION= 2013.3
CATEGORIES= games
-MASTER_SITES= SF/unknownhorizons/Unknown%20Horizons/${PORTVERSION}/
+#MASTER_SITES= SF/unknownhorizons/Unknown%20Horizons/${PORTVERSION}/
+MASTER_SITES= GH
MAINTAINER= fiziologus@gmail.com
COMMENT= Real time simulation game
@@ -17,10 +17,12 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/fife/__init__.py:${PORTSDIR}/games/py-fife \
${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml \
${PYTHON_PKGNAMEPREFIX}gdbm>0:${PORTSDIR}/databases/py-gdbm
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
ONLY_FOR_ARCHS= i386 amd64
+USE_GITHUB= yes
+GH_ACCOUNT= ${PORTNAME}
+GH_COMMIT= ac7af43
+
USE_GNOME= intltool
USES= gettext:build tar:xz
USE_PYTHON= 2
@@ -53,5 +55,7 @@ post-install:
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/horizons/network/libs/freebsd-${ENET_DIR}
${INSTALL} ${WRKSRC}/horizons/network/libs/freebsd-${ENET_DIR}/enet.so \
${STAGEDIR}${PYTHON_SITELIBDIR}/horizons/network/libs/freebsd-${ENET_DIR}/enet.so
+# (rene) prune unwanted files to pass 'make check-plist'
+ ${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/UnknownHorizons-_unknown_-py${PYTHON_VER}.egg-info
.include <bsd.port.post.mk>