aboutsummaryrefslogtreecommitdiffstats
path: root/net/cyphesis/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2011-04-29 13:56:56 +0800
committerOliver Lehmann <oliver@FreeBSD.org>2011-04-29 13:56:56 +0800
commitaae2692930dded120bc7d12fe8ba1fa9e5ff6b09 (patch)
tree67b8bc1a9171372ce431f48942c82d6cfe2faf96 /net/cyphesis/Makefile
parentf91405002357182c07be67b152512e1260668e29 (diff)
downloadfreebsd-ports-gnome-aae2692930dded120bc7d12fe8ba1fa9e5ff6b09.tar.gz
freebsd-ports-gnome-aae2692930dded120bc7d12fe8ba1fa9e5ff6b09.tar.zst
freebsd-ports-gnome-aae2692930dded120bc7d12fe8ba1fa9e5ff6b09.zip
big WorldForge update:
update eris to 1.3.18 update wfmath to 0.3.11 update skstream to 0.3.8 update mercator to 0.3.0 update ember to 0.6.1 update cyphesis to 0.5.26
Diffstat (limited to 'net/cyphesis/Makefile')
-rw-r--r--net/cyphesis/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/net/cyphesis/Makefile b/net/cyphesis/Makefile
index ec84a32eb40b..0a1b96750a02 100644
--- a/net/cyphesis/Makefile
+++ b/net/cyphesis/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= cyphesis
-PORTVERSION= 0.5.21
-PORTREVISION= 6
+PORTVERSION= 0.5.26
CATEGORIES= net
MASTER_SITES= SF/worldforge/${PORTNAME}%20%28server%29/${PORTVERSION}
@@ -17,9 +16,9 @@ COMMENT= A server for WorldForge games
LIB_DEPENDS= Atlas-0.6.1:${PORTSDIR}/devel/atlas-devel \
varconf-1.0.6:${PORTSDIR}/devel/varconf \
- wfmath-0.3.4:${PORTSDIR}/math/wfmath \
- mercator-0.2.8:${PORTSDIR}/devel/mercator \
- skstream-0.3.5:${PORTSDIR}/net/skstream \
+ wfmath-0.3.5:${PORTSDIR}/math/wfmath \
+ mercator-0.3.1:${PORTSDIR}/devel/mercator \
+ skstream-0.3.6:${PORTSDIR}/net/skstream \
gcrypt.17:${PORTSDIR}/security/libgcrypt
CONFIGURE_ARGS= --with-python=${LOCALBASE}
@@ -48,6 +47,11 @@ post-patch:
${REINPLACE_CMD} -e 's|$$(datadir)/cyphesis|${DATADIR}|g'
@${REINPLACE_CMD} -e 's|/bash|/sh|' ${WRKSRC}/scripts/extract_revision.sh
@${REINPLACE_CMD} -e '1s|python|${LOCALBASE}/bin/${PYTHON_VERSION}|' ${WRKSRC}/scripts/gen_buildid.py
+ @${REINPLACE_CMD} -e 's/#ifdef __APPLE__/#if defined(__APPLE__) || defined(__FreeBSD__)/g; \
+ s/#ifndef __APPLE__/#if !defined(__APPLE__) \&\& !defined(__FreeBSD__)/g' \
+ ${WRKSRC}/common/system.cpp \
+ ${WRKSRC}/common/AtlasStreamClient.cpp \
+ ${WRKSRC}/server/CommUnixListener.cpp
post-install:
.if !defined(NOPORTDOCS)