mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
update of the worldfordge suite
devel/eris: 1.3.21 devel/mercator: 0.3.2 devel/varconf: 1.0.0 math/wfmath: 1.0.1 net/cyphesis: 0.6.0 net/skstream: 0.3.9 games/ember: 0.7.0
This commit is contained in:
parent
ae89c033cb
commit
0dffefb33f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310647
22 changed files with 1443 additions and 1241 deletions
|
@ -1,12 +1,8 @@
|
|||
# New ports collection makefile for: eris
|
||||
# Date created: 3 February 2005
|
||||
# Whom: Janni
|
||||
#
|
||||
# Created by: Janni
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= eris
|
||||
PORTVERSION= 1.3.19
|
||||
PORTVERSION= 1.3.21
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/worldforge/Eris%201.4%20%28client%20lib%29/${PORTVERSION}/
|
||||
|
||||
|
@ -14,10 +10,10 @@ MAINTAINER= oliver@FreeBSD.org
|
|||
COMMENT= WorldForge client entity library
|
||||
|
||||
LIB_DEPENDS= Atlas-0.6.1:${PORTSDIR}/devel/atlas-devel \
|
||||
skstream-0.3.6:${PORTSDIR}/net/skstream \
|
||||
wfmath-0.3.5:${PORTSDIR}/math/wfmath \
|
||||
skstream-0.3.7:${PORTSDIR}/net/skstream \
|
||||
wfmath-1.0.1:${PORTSDIR}/math/wfmath \
|
||||
sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
|
||||
mercator-0.3.1:${PORTSDIR}/devel/mercator
|
||||
mercator-0.3.3:${PORTSDIR}/devel/mercator
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (eris-1.3.19.tar.gz) = 203c71f5bcf397846c2bb1e63ee5c165aea4dc60f2debe76e9f2f0e3c34d9554
|
||||
SIZE (eris-1.3.19.tar.gz) = 588311
|
||||
SHA256 (eris-1.3.21.tar.gz) = 9e20cd008f6a28e2067ea1d26c1bf4860f2906d4e023ac0f57b73b85cff390e9
|
||||
SIZE (eris-1.3.21.tar.gz) = 618053
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
lib/liberis-1.3.la
|
||||
lib/liberis-1.3.so
|
||||
lib/liberis-1.3.so.19
|
||||
lib/liberis-1.3.so.20
|
||||
include/Eris-1.3/Eris/Account.h
|
||||
include/Eris-1.3/Eris/Alarm.h
|
||||
include/Eris-1.3/Eris/Avatar.h
|
||||
|
|
|
@ -1,21 +1,18 @@
|
|||
# New ports collection makefile for: mercator
|
||||
# Date created: 4 February 2005
|
||||
# Whom: Janni
|
||||
#
|
||||
# Created by: Janni
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mercator
|
||||
PORTVERSION= 0.3.0
|
||||
PORTVERSION= 0.3.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/worldforge/Mercator%20%28terrain%20lib%29/${PORTVERSION}
|
||||
|
||||
MAINTAINER= oliver@FreeBSD.org
|
||||
COMMENT= A procedural terrain library
|
||||
|
||||
LIB_DEPENDS= wfmath-0.3.5:${PORTSDIR}/math/wfmath
|
||||
LIB_DEPENDS= wfmath-1.0.1:${PORTSDIR}/math/wfmath
|
||||
|
||||
USE_GNOME= pkgconfig gnomehack
|
||||
USE_GNOME= gnomehack
|
||||
USE_PKGCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (mercator-0.3.0.tar.gz) = 6b12acda4e86fad0987fcd4ec18b79faa01605ef5ef71b7d8261691d3f8835e9
|
||||
SIZE (mercator-0.3.0.tar.gz) = 410127
|
||||
SHA256 (mercator-0.3.2.tar.gz) = 5388299694545b266d0c232fc7124ec52d88fef69159b0acd38919fd1095fcc1
|
||||
SIZE (mercator-0.3.2.tar.gz) = 432442
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
lib/libmercator-0.3.la
|
||||
lib/libmercator-0.3.so
|
||||
lib/libmercator-0.3.so.1
|
||||
lib/libmercator-0.3.so.3
|
||||
include/Mercator-0.3/Mercator/Effector.h
|
||||
include/Mercator-0.3/Mercator/Mercator.h
|
||||
include/Mercator-0.3/Mercator/Matrix.h
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
# New ports collection makefile for: varconf
|
||||
# Date created: 29 March 2001
|
||||
# Whom: Oliver Lehmann <lehmann@ans-netz.de>
|
||||
#
|
||||
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= varconf
|
||||
PORTVERSION= 0.6.7
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/worldforge/${PORTNAME}%20%28config%20lib%29/${PORTVERSION}
|
||||
|
||||
|
@ -20,11 +16,13 @@ USE_BZIP2= yes
|
|||
USE_GNOME= gnomehack
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in README COPYING AUTHORS THANKS NEWS
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (varconf-0.6.7.tar.bz2) = b22dfe8b4f2ec081060545fa4b6c28b78c4b702b0621cc0eea1651bbd9fb0095
|
||||
SIZE (varconf-0.6.7.tar.bz2) = 272485
|
||||
SHA256 (varconf-1.0.0.tar.bz2) = 91f9e909e1df6bbfef2fb3d589e1fd370e90c2310813cb445f1ee4b9cabffcc5
|
||||
SIZE (varconf-1.0.0.tar.bz2) = 301905
|
||||
|
|
|
@ -5,10 +5,11 @@ include/varconf-1.0/varconf/dyntypes.h
|
|||
include/varconf-1.0/varconf/dynvar.h
|
||||
include/varconf-1.0/varconf/parse_error.h
|
||||
include/varconf-1.0/varconf/varconf.h
|
||||
include/varconf-1.0/varconf/varconf_defs.h
|
||||
include/varconf-1.0/varconf/variable.h
|
||||
lib/libvarconf-1.0.la
|
||||
lib/libvarconf-1.0.so
|
||||
lib/libvarconf-1.0.so.7
|
||||
lib/libvarconf-1.0.so.8
|
||||
libdata/pkgconfig/varconf-1.0.pc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
|
|
|
@ -1,39 +1,34 @@
|
|||
# New ports collection makefile for: ember
|
||||
# Date created: 03 Oct 2005
|
||||
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
||||
#
|
||||
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ember
|
||||
PORTVERSION= 0.6.2
|
||||
PORTREVISION= 6
|
||||
PORTVERSION= 0.7.0
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/worldforge/Ember%20%28OGRE%20client%29/${PORTVERSION} \
|
||||
http://amber.worldforge.org/ember/releases/stable/
|
||||
|
||||
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
${PORTNAME}-media-${PORTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= oliver@FreeBSD.org
|
||||
COMMENT= Ember is a WorldForge 3D client using the OGRE 3D library
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libOgreMain.so.1.7.4:${PORTSDIR}/graphics/ogre3d
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/libOgreMain.so.1.7.4:${PORTSDIR}/graphics/ogre3d
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libOgreMain.so.1.8.1:${PORTSDIR}/graphics/ogre3d
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/libOgreMain.so.1.8.1:${PORTSDIR}/graphics/ogre3d
|
||||
LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
|
||||
eris-1.3:${PORTSDIR}/devel/eris \
|
||||
varconf-1.0.7:${PORTSDIR}/devel/varconf \
|
||||
mercator-0.3.1:${PORTSDIR}/devel/mercator \
|
||||
varconf-1.0.8:${PORTSDIR}/devel/varconf \
|
||||
mercator-0.3.3:${PORTSDIR}/devel/mercator \
|
||||
wfut-0.2:${PORTSDIR}/devel/libwfut \
|
||||
boost_thread.4:${PORTSDIR}/devel/boost-libs \
|
||||
CEGUIBase-0.7.7.0:${PORTSDIR}/graphics/cegui
|
||||
CEGUIBase-0.7.9.0:${PORTSDIR}/graphics/cegui
|
||||
|
||||
CONFIGURE_ARGS= --with-png-prefix=${LOCALBASE} --enable-binreloc \
|
||||
--program-transform-name= --disable-cppunit --enable-debug \
|
||||
--program-transform-name= --disable-cppunit --disable-debug \
|
||||
--with-toluaxx=${TOLUAXX_CMD}
|
||||
CONFIGURE_ENV+= LUA_LIBS="-L${LUA_LIBDIR} -llua" \
|
||||
LUA_CFLAGS="-I${LUA_INCDIR}" \
|
||||
TOLUAXX="${TOLUAXX_CMD}"
|
||||
|
||||
USE_SDL= sdl
|
||||
GNU_CONFIGURE= YES
|
||||
USE_LDCONFIG= YES
|
||||
|
@ -45,14 +40,12 @@ USE_BZIP2= YES
|
|||
CPPFLAGS+= -DBR_NO_MACROS
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '\
|
||||
s|-lGL|-L${LOCALBASE}/lib -lGL|g' \
|
||||
${WRKSRC}/configure
|
||||
# @${REINPLACE_CMD} -e 's|^CFLAGS =.*|& $${SDL_CFLAGS} -I${LOCALBASE}/include|g' \
|
||||
# ${WRKSRC}/src/framework/Makefile.in
|
||||
# @${REINPLACE_CMD} -e 's|sighandler_t|sig_t|g' \
|
||||
# ${WRKSRC}/src/components/ogre/OgreSetup.cpp
|
||||
@${REINPLACE_CMD} -e 's| install-dist_docDATA | |g' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|$$(sysconfdir)/ember/|$$(sysconfdir)/ember|g' \
|
||||
${WRKSRC}/Makefile.in \
|
||||
|
@ -63,12 +56,12 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|/bash|/sh|g' ${WRKSRC}/ember.in
|
||||
|
||||
post-install:
|
||||
(cd ${WRKDIR}/media-${PORTVERSION}/media && ${FIND} . -type f -print | \
|
||||
(cd ${WRKDIR}/ember-media-${PORTVERSION}/media && ${FIND} . -type f -print | \
|
||||
${CPIO} -pdmu -R${SHAREOWN}:${SHAREGRP} ${DATADIR}/media)
|
||||
${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 0755
|
||||
${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 0644
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for docfile in README COPYING AUTHORS ChangeLog TODO
|
||||
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
SHA256 (ember-0.6.2.tar.bz2) = 006192693a42e92ee7ba09bfdaf68a4b3efe6ad6dec4a81047563d3f53575ff6
|
||||
SIZE (ember-0.6.2.tar.bz2) = 2064325
|
||||
SHA256 (ember-media-0.6.2.tar.bz2) = d91e41386220f671526af3529dac03e271b83330f9e6cad1c42539cd1871496e
|
||||
SIZE (ember-media-0.6.2.tar.bz2) = 278533300
|
||||
SHA256 (ember-0.7.0.tar.bz2) = 2ded4df8e3b0ef33e2789fc1cfa8da794c43b26ae929506f655cc6e59394f77b
|
||||
SIZE (ember-0.7.0.tar.bz2) = 2195155
|
||||
SHA256 (ember-media-0.7.0.tar.bz2) = 240b963c1562bcbd282f075ba4e72f81ef16e3777dac659769f05ec54a014e45
|
||||
SIZE (ember-media-0.7.0.tar.bz2) = 281819258
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,21 +1,17 @@
|
|||
# New ports collection makefile for: wfmath
|
||||
# Date created: 3 February 2005
|
||||
# Whom: Janni
|
||||
#
|
||||
# Created by: Janni
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= wfmath
|
||||
PORTVERSION= 0.3.11
|
||||
PORTVERSION= 1.0.1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= SF/worldforge/${PORTNAME}%20%28math%20lib%29/${PORTVERSION}
|
||||
|
||||
MAINTAINER= oliver@FreeBSD.org
|
||||
COMMENT= Worldforge math library
|
||||
|
||||
USE_GCC= any
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= pkgconfig gnomehack
|
||||
USE_GNOME= gnomehack
|
||||
USE_PKGCONFIG= yes
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (wfmath-0.3.11.tar.gz) = 0f94a706203dff4122f0445a9f29a23c641a79534414f47bc8f42e2491ce38d6
|
||||
SIZE (wfmath-0.3.11.tar.gz) = 464548
|
||||
SHA256 (wfmath-1.0.1.tar.gz) = 65c9fd264a1115c77700521cdd7fc5cee68167662ebee797c8a9ac43b8beed04
|
||||
SIZE (wfmath-1.0.1.tar.gz) = 488047
|
||||
|
|
|
@ -1,41 +1,43 @@
|
|||
lib/libwfmath-0.3.la
|
||||
lib/libwfmath-0.3.so
|
||||
lib/libwfmath-0.3.so.5
|
||||
include/wfmath-0.3/wfmath/error.h
|
||||
include/wfmath-0.3/wfmath/const.h
|
||||
include/wfmath-0.3/wfmath/int_to_string.h
|
||||
include/wfmath-0.3/wfmath/probability.h
|
||||
include/wfmath-0.3/wfmath/timestamp.h
|
||||
include/wfmath-0.3/wfmath/MersenneTwister.h
|
||||
include/wfmath-0.3/wfmath/randgen.h
|
||||
include/wfmath-0.3/wfmath/shuffle.h
|
||||
include/wfmath-0.3/wfmath/vector.h
|
||||
include/wfmath-0.3/wfmath/vector_funcs.h
|
||||
include/wfmath-0.3/wfmath/rotmatrix.h
|
||||
include/wfmath-0.3/wfmath/rotmatrix_funcs.h
|
||||
include/wfmath-0.3/wfmath/point.h
|
||||
include/wfmath-0.3/wfmath/point_funcs.h
|
||||
include/wfmath-0.3/wfmath/quaternion.h
|
||||
include/wfmath-0.3/wfmath/axisbox.h
|
||||
include/wfmath-0.3/wfmath/axisbox_funcs.h
|
||||
include/wfmath-0.3/wfmath/ball.h
|
||||
include/wfmath-0.3/wfmath/ball_funcs.h
|
||||
include/wfmath-0.3/wfmath/wrapped_array.h
|
||||
include/wfmath-0.3/wfmath/miniball.h
|
||||
include/wfmath-0.3/wfmath/miniball_funcs.h
|
||||
include/wfmath-0.3/wfmath/segment.h
|
||||
include/wfmath-0.3/wfmath/segment_funcs.h
|
||||
include/wfmath-0.3/wfmath/rotbox.h
|
||||
include/wfmath-0.3/wfmath/rotbox_funcs.h
|
||||
include/wfmath-0.3/wfmath/polygon.h
|
||||
include/wfmath-0.3/wfmath/polygon_funcs.h
|
||||
include/wfmath-0.3/wfmath/polygon_intersect.h
|
||||
include/wfmath-0.3/wfmath/intersect_decls.h
|
||||
include/wfmath-0.3/wfmath/intersect.h
|
||||
include/wfmath-0.3/wfmath/wfmath.h
|
||||
include/wfmath-0.3/wfmath/stream.h
|
||||
include/wfmath-0.3/wfmath/atlasconv.h
|
||||
include/wfmath-0.3/wfmath/zero.h
|
||||
@dirrm include/wfmath-0.3/wfmath
|
||||
@dirrm include/wfmath-0.3
|
||||
libdata/pkgconfig/wfmath-0.3.pc
|
||||
include/wfmath-1.0/wfmath/MersenneTwister.h
|
||||
include/wfmath-1.0/wfmath/atlasconv.h
|
||||
include/wfmath-1.0/wfmath/axisbox.h
|
||||
include/wfmath-1.0/wfmath/axisbox_funcs.h
|
||||
include/wfmath-1.0/wfmath/ball.h
|
||||
include/wfmath-1.0/wfmath/ball_funcs.h
|
||||
include/wfmath-1.0/wfmath/const.h
|
||||
include/wfmath-1.0/wfmath/error.h
|
||||
include/wfmath-1.0/wfmath/int_to_string.h
|
||||
include/wfmath-1.0/wfmath/intersect.h
|
||||
include/wfmath-1.0/wfmath/intersect_decls.h
|
||||
include/wfmath-1.0/wfmath/line.h
|
||||
include/wfmath-1.0/wfmath/line_funcs.h
|
||||
include/wfmath-1.0/wfmath/miniball.h
|
||||
include/wfmath-1.0/wfmath/miniball_funcs.h
|
||||
include/wfmath-1.0/wfmath/point.h
|
||||
include/wfmath-1.0/wfmath/point_funcs.h
|
||||
include/wfmath-1.0/wfmath/polygon.h
|
||||
include/wfmath-1.0/wfmath/polygon_funcs.h
|
||||
include/wfmath-1.0/wfmath/polygon_intersect.h
|
||||
include/wfmath-1.0/wfmath/probability.h
|
||||
include/wfmath-1.0/wfmath/quaternion.h
|
||||
include/wfmath-1.0/wfmath/randgen.h
|
||||
include/wfmath-1.0/wfmath/rotbox.h
|
||||
include/wfmath-1.0/wfmath/rotbox_funcs.h
|
||||
include/wfmath-1.0/wfmath/rotmatrix.h
|
||||
include/wfmath-1.0/wfmath/rotmatrix_funcs.h
|
||||
include/wfmath-1.0/wfmath/segment.h
|
||||
include/wfmath-1.0/wfmath/segment_funcs.h
|
||||
include/wfmath-1.0/wfmath/shuffle.h
|
||||
include/wfmath-1.0/wfmath/stream.h
|
||||
include/wfmath-1.0/wfmath/timestamp.h
|
||||
include/wfmath-1.0/wfmath/vector.h
|
||||
include/wfmath-1.0/wfmath/vector_funcs.h
|
||||
include/wfmath-1.0/wfmath/wfmath.h
|
||||
include/wfmath-1.0/wfmath/wrapped_array.h
|
||||
include/wfmath-1.0/wfmath/zero.h
|
||||
lib/libwfmath-1.0.la
|
||||
lib/libwfmath-1.0.so
|
||||
lib/libwfmath-1.0.so.1
|
||||
libdata/pkgconfig/wfmath-1.0.pc
|
||||
@dirrm include/wfmath-1.0/wfmath
|
||||
@dirrm include/wfmath-1.0
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
|
||||
# New ports collection makefile for: cyphesis
|
||||
# Date created: 02 Oct 2005
|
||||
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
||||
#
|
||||
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= cyphesis
|
||||
PORTVERSION= 0.5.26
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.6.0
|
||||
#PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= SF/worldforge/${PORTNAME}%20%28server%29/${PORTVERSION}
|
||||
|
||||
|
@ -16,11 +11,12 @@ MAINTAINER= oliver@FreeBSD.org
|
|||
COMMENT= A server for WorldForge games
|
||||
|
||||
LIB_DEPENDS= Atlas-0.6.1:${PORTSDIR}/devel/atlas-devel \
|
||||
varconf-1.0.7:${PORTSDIR}/devel/varconf \
|
||||
wfmath-0.3.5:${PORTSDIR}/math/wfmath \
|
||||
mercator-0.3.1:${PORTSDIR}/devel/mercator \
|
||||
skstream-0.3.6:${PORTSDIR}/net/skstream \
|
||||
gcrypt.18:${PORTSDIR}/security/libgcrypt
|
||||
varconf-1.0.8:${PORTSDIR}/devel/varconf \
|
||||
wfmath-1.0.1:${PORTSDIR}/math/wfmath \
|
||||
mercator-0.3.3:${PORTSDIR}/devel/mercator \
|
||||
skstream-0.3.7:${PORTSDIR}/net/skstream \
|
||||
gcrypt.18:${PORTSDIR}/security/libgcrypt \
|
||||
boost_regex:${PORTSDIR}/devel/boost-libs
|
||||
|
||||
CONFIGURE_ARGS= --with-python=${LOCALBASE}
|
||||
|
||||
|
@ -31,34 +27,38 @@ USE_GMAKE= yes
|
|||
USE_LDCONFIG= yes
|
||||
USE_PGSQL= yes
|
||||
USE_PYTHON= 2.5-2.6
|
||||
USE_GCC= 4.7+
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
MAN1= cyclient.1 cycmd.1 cyphesis.1 cyphesis-tools.1 cyaddrules.1 \
|
||||
cyconvertrules.1 cydumprules.1 cyloadrules.1 cypasswd.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's| install-dist_docDATA | |g' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's| install-confbackupDATA | |g' ${WRKSRC}/data/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
-e 's|-lpython|${PTHREAD_LIBS} &|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's| install-confbackupDATA | |g' \
|
||||
${WRKSRC}/data/minimal/Makefile.in \
|
||||
${WRKSRC}/data/mars/Makefile.in \
|
||||
${WRKSRC}/data/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|-lpython|${PTHREAD_LIBS} &|' \
|
||||
${WRKSRC}/configure
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
|
||||
${REINPLACE_CMD} -e 's|$$(datadir)/cyphesis|${DATADIR}|g'
|
||||
${REINPLACE_CMD} -e 's|$$(datadir)/cyphesis|${DATADIR}|g ; \
|
||||
s|confbackupdir = .*|confbackupdir = ${DOCSDIR}/conf|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)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}/conf
|
||||
.for docfile in README COPYING AUTHORS THANKS NEWS ChangeLog TODO
|
||||
.for docfile in README COPYING AUTHORS THANKS NEWS ChangeLog TODO FIXME
|
||||
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
||||
.endfor
|
||||
.for docfile in acorn.xml basic.xml cyphesis.vconf mason.xml werewolf.xml
|
||||
|
@ -66,4 +66,4 @@ post-install:
|
|||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (cyphesis-0.5.26.tar.bz2) = eff10beeafeea72a045a60caf1793270ee5406864ab22d086dc5fc902ad9b394
|
||||
SIZE (cyphesis-0.5.26.tar.bz2) = 755060
|
||||
SHA256 (cyphesis-0.6.0.tar.bz2) = b6988e6dbdf7b601bf6d9fc7456fa7ad376f96ad350b3da3d9c4714fa43a52ad
|
||||
SIZE (cyphesis-0.6.0.tar.bz2) = 840777
|
||||
|
|
59
net/cyphesis/files/patch-common-system_net.cpp
Normal file
59
net/cyphesis/files/patch-common-system_net.cpp
Normal file
|
@ -0,0 +1,59 @@
|
|||
--- common/system_net.cpp.orig 2012-12-18 19:51:32.000000000 +0100
|
||||
+++ common/system_net.cpp 2012-12-19 08:49:52.000000000 +0100
|
||||
@@ -28,6 +28,7 @@
|
||||
#endif // _WIN32
|
||||
|
||||
#include <cassert>
|
||||
+#include <cstdio>
|
||||
|
||||
extern "C" {
|
||||
#ifdef HAVE_SYS_UTSNAME_H
|
||||
@@ -80,6 +81,14 @@
|
||||
#ifdef HAVE_SYS_UN_H
|
||||
#ifndef __APPLE__
|
||||
#ifndef SO_PEERCRED
|
||||
+ size_t creds_size;
|
||||
+
|
||||
+#if defined (SCM_CREDENTIALS)
|
||||
+ creds_size = sizeof(struct ucred);
|
||||
+#elif defined (SCM_CREDS)
|
||||
+ creds_size = sizeof(struct cmsgcred);
|
||||
+#endif
|
||||
+
|
||||
// Prove to the server that we are real.
|
||||
|
||||
unsigned char buf[1];
|
||||
@@ -97,12 +106,13 @@
|
||||
auth_message.msg_iovlen = 1;
|
||||
auth_message.msg_name = 0;
|
||||
auth_message.msg_namelen = 0;
|
||||
- auth_message.msg_controllen = CMSG_SPACE(sizeof(struct ucred));
|
||||
+ auth_message.msg_controllen = CMSG_SPACE(creds_size);
|
||||
unsigned char * mcb = new unsigned char[auth_message.msg_controllen];
|
||||
auth_message.msg_control = mcb;
|
||||
auth_message.msg_flags = 0;
|
||||
|
||||
struct cmsghdr * control = CMSG_FIRSTHDR(&auth_message);
|
||||
+#if defined (SCM_CREDENTIALS)
|
||||
control->cmsg_len = CMSG_LEN(sizeof(struct ucred));
|
||||
control->cmsg_level = SOL_SOCKET;
|
||||
control->cmsg_type = SCM_CREDENTIALS;
|
||||
@@ -110,8 +120,17 @@
|
||||
creds->pid = ::getpid();
|
||||
creds->uid = ::getuid();
|
||||
creds->gid = ::getgid();
|
||||
+#elif defined (SCM_CREDS)
|
||||
+ control->cmsg_len = CMSG_LEN(sizeof(struct cmsgcred));
|
||||
+ control->cmsg_level = SOL_SOCKET;
|
||||
+ control->cmsg_type = SCM_CREDS;
|
||||
+ struct cmsgcred * creds = (struct cmsgcred *)CMSG_DATA(control);
|
||||
+ creds->cmcred_pid = ::getpid();
|
||||
+ creds->cmcred_uid = ::getuid();
|
||||
+ creds->cmcred_gid = ::getgid();
|
||||
+#endif
|
||||
|
||||
- int serr = sendmsg(m_fd, &auth_message, 0);
|
||||
+ int serr = sendmsg(fd, &auth_message, 0);
|
||||
|
||||
delete [] mcb;
|
||||
|
|
@ -10,6 +10,10 @@ bin/cypasswd
|
|||
bin/cyphesis
|
||||
bin/cypython
|
||||
etc/cyphesis/cyphesis.vconf
|
||||
etc/cyphesis/mars.d/basic.xml
|
||||
etc/cyphesis/mars.d/characters.xml
|
||||
etc/cyphesis/mars.d/environment.xml
|
||||
etc/cyphesis/mars.d/terrain.xml
|
||||
etc/cyphesis/mason.d/animals.xml
|
||||
etc/cyphesis/mason.d/basic.xml
|
||||
etc/cyphesis/mason.d/buildings.xml
|
||||
|
@ -25,6 +29,10 @@ etc/cyphesis/mason.d/tasks.xml
|
|||
etc/cyphesis/mason.d/terrain.xml
|
||||
etc/cyphesis/mason.d/tools.xml
|
||||
etc/cyphesis/mason.d/weapons.xml
|
||||
etc/cyphesis/minimal.d/basic.xml
|
||||
etc/cyphesis/minimal.d/characters.xml
|
||||
etc/cyphesis/minimal.d/environment.xml
|
||||
etc/cyphesis/minimal.d/terrain.xml
|
||||
%%DATADIR%%/rulesets/basic/mind/Goal.py
|
||||
%%DATADIR%%/rulesets/basic/mind/Knowledge.py
|
||||
%%DATADIR%%/rulesets/basic/mind/Memory.py
|
||||
|
@ -56,12 +64,18 @@ etc/cyphesis/mason.d/weapons.xml
|
|||
%%DATADIR%%/rulesets/basic/mind/panlingua/ontology.py
|
||||
%%DATADIR%%/rulesets/basic/mind/panlingua/panlingua.py
|
||||
%%DATADIR%%/rulesets/basic/mind/panlingua/syntax.py
|
||||
%%DATADIR%%/rulesets/mars/define_mars.py
|
||||
%%DATADIR%%/rulesets/mars/world/__init__.py
|
||||
%%DATADIR%%/rulesets/mars/world/objects/Weather.py
|
||||
%%DATADIR%%/rulesets/mars/world/objects/__init__.py
|
||||
%%DATADIR%%/rulesets/mars/world/statistics/Statistics.py
|
||||
%%DATADIR%%/rulesets/mars/world/statistics/__init__.py
|
||||
%%DATADIR%%/rulesets/mason/benchmarks.py
|
||||
%%DATADIR%%/rulesets/mason/define_world.py
|
||||
%%DATADIR%%/rulesets/mason/define_world_aglanor.py
|
||||
%%DATADIR%%/rulesets/mason/regression.py
|
||||
%%DATADIR%%/rulesets/mason/tests.py
|
||||
%%DATADIR%%/rulesets/mason/terrain.py
|
||||
%%DATADIR%%/rulesets/mason/tests.py
|
||||
%%DATADIR%%/rulesets/mason/world/__init__.py
|
||||
%%DATADIR%%/rulesets/mason/world/objects/Pile.py
|
||||
%%DATADIR%%/rulesets/mason/world/objects/Weather.py
|
||||
|
@ -104,27 +118,51 @@ etc/cyphesis/mason.d/weapons.xml
|
|||
%%DATADIR%%/rulesets/mason/world/objects/undead/__init__.py
|
||||
%%DATADIR%%/rulesets/mason/world/statistics/Statistics.py
|
||||
%%DATADIR%%/rulesets/mason/world/statistics/__init__.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Baking.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Bisect.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/BuildBloomery.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Combat.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Cultivate.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Delve.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Destroying.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Dig.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Dragging.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Drying.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Earthbarrier.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Earthwall.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Fishing.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Furnishings.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Gateconstruction.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Heaping.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/IronSmelting.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Logging.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Pioneering.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Pioneeringconstruction.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Pulling.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Raise.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Ram.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Reap.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Repairing.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Sharpen.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Sift.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Slaughter.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Slice.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Spell.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Trailblaze.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Trenching.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Twirling.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/Woodenwall.py
|
||||
%%DATADIR%%/rulesets/mason/world/tasks/__init__.py
|
||||
%%DATADIR%%/scripts/cyphesis/__init__.py
|
||||
%%DATADIR%%/rulesets/minimal/define_minimal.py
|
||||
%%DATADIR%%/rulesets/minimal/world/__init__.py
|
||||
%%DATADIR%%/rulesets/minimal/world/objects/Weather.py
|
||||
%%DATADIR%%/rulesets/minimal/world/objects/__init__.py
|
||||
%%DATADIR%%/rulesets/minimal/world/statistics/Statistics.py
|
||||
%%DATADIR%%/rulesets/minimal/world/statistics/__init__.py
|
||||
%%DATADIR%%/scripts/cyphesis/Thing.py
|
||||
%%DATADIR%%/scripts/cyphesis/probability.py
|
||||
%%DATADIR%%/scripts/cyphesis/__init__.py
|
||||
%%DATADIR%%/scripts/cyphesis/editor.py
|
||||
%%DATADIR%%/scripts/cyphesis/probability.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
|
@ -132,12 +170,15 @@ etc/cyphesis/mason.d/weapons.xml
|
|||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%%%DOCSDIR%%/FIXME
|
||||
%%PORTDOCS%%%%DOCSDIR%%/conf/acorn.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/conf/basic.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/conf/cyphesis.vconf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/conf/mason.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/conf/werewolf.xml
|
||||
@dirrm etc/cyphesis/mars.d
|
||||
@dirrm etc/cyphesis/mason.d
|
||||
@dirrm etc/cyphesis/minimal.d
|
||||
@dirrm etc/cyphesis
|
||||
@dirrm %%DATADIR%%/rulesets/basic/mind/goals/animal
|
||||
@dirrm %%DATADIR%%/rulesets/basic/mind/goals/common
|
||||
|
@ -147,6 +188,10 @@ etc/cyphesis/mason.d/weapons.xml
|
|||
@dirrm %%DATADIR%%/rulesets/basic/mind/panlingua
|
||||
@dirrm %%DATADIR%%/rulesets/basic/mind
|
||||
@dirrm %%DATADIR%%/rulesets/basic
|
||||
@dirrm %%DATADIR%%/rulesets/mars/world/statistics
|
||||
@dirrm %%DATADIR%%/rulesets/mars/world/objects
|
||||
@dirrm %%DATADIR%%/rulesets/mars/world
|
||||
@dirrm %%DATADIR%%/rulesets/mars
|
||||
@dirrm %%DATADIR%%/rulesets/mason/world/objects/animals
|
||||
@dirrm %%DATADIR%%/rulesets/mason/world/objects/buildings
|
||||
@dirrm %%DATADIR%%/rulesets/mason/world/objects/clothing
|
||||
|
@ -161,6 +206,10 @@ etc/cyphesis/mason.d/weapons.xml
|
|||
@dirrm %%DATADIR%%/rulesets/mason/world/tasks
|
||||
@dirrm %%DATADIR%%/rulesets/mason/world
|
||||
@dirrm %%DATADIR%%/rulesets/mason
|
||||
@dirrm %%DATADIR%%/rulesets/minimal/world/statistics
|
||||
@dirrm %%DATADIR%%/rulesets/minimal/world/objects
|
||||
@dirrm %%DATADIR%%/rulesets/minimal/world
|
||||
@dirrm %%DATADIR%%/rulesets/minimal
|
||||
@dirrm %%DATADIR%%/rulesets
|
||||
@dirrm %%DATADIR%%/scripts/cyphesis
|
||||
@dirrm %%DATADIR%%/scripts
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
# New ports collection makefile for: skstream
|
||||
# Date created: 3 February 2005
|
||||
# Whom: Janni
|
||||
#
|
||||
# Created by: Janni
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= skstream
|
||||
PORTVERSION= 0.3.8
|
||||
PORTVERSION= 0.3.9
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= SF/worldforge/${PORTNAME}%20%28network%20lib%29/${PORTVERSION}
|
||||
|
||||
|
@ -14,15 +10,18 @@ MAINTAINER= oliver@FreeBSD.org
|
|||
COMMENT= An iostream based C++ socket library
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= pkgconfig gnomehack
|
||||
USE_GNOME= gnomehack
|
||||
USE_PKGCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's| install-docdataDATA | |g' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for docfile in README COPYING AUTHORS NEWS README.FreeSockets
|
||||
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (skstream-0.3.8.tar.gz) = a0ceb95b6a239a5a3b82afece3f2832d3eaf1f9254d2d6d9011ca0c139103390
|
||||
SIZE (skstream-0.3.8.tar.gz) = 387412
|
||||
SHA256 (skstream-0.3.9.tar.gz) = e02096ea045d3d572d378e0bb10a80bfcfaf2c5c8829ec2cf7ae0d8a4164e8d4
|
||||
SIZE (skstream-0.3.9.tar.gz) = 413719
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
lib/libskstream-0.3.la
|
||||
lib/libskstream-0.3.so
|
||||
lib/libskstream-0.3.so.6
|
||||
libdata/pkgconfig/skstream-0.3.pc
|
||||
libdata/pkgconfig/skstream-unix-0.3.pc
|
||||
lib/skstream-0.3/include/skstream/skstreamconfig.h
|
||||
@dirrm lib/skstream-0.3/include/skstream
|
||||
@dirrm lib/skstream-0.3/include
|
||||
@dirrm lib/skstream-0.3
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.FreeSockets
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
include/skstream-0.3/skstream/skaddress.h
|
||||
include/skstream-0.3/skstream/sksocket.h
|
||||
include/skstream-0.3/skstream/skstream.h
|
||||
include/skstream-0.3/skstream/skstream_unix.h
|
||||
|
@ -14,11 +12,14 @@ include/skstream-0.3/skstream/skserver.h
|
|||
include/skstream-0.3/skstream/skserver_unix.h
|
||||
include/skstream-0.3/skstream/skpoll.h
|
||||
include/skstream-0.3/skstream/sasproto.h
|
||||
lib/libskstream-0.3.la
|
||||
lib/libskstream-0.3.so
|
||||
lib/libskstream-0.3.so.7
|
||||
libdata/pkgconfig/skstream-0.3.pc
|
||||
libdata/pkgconfig/skstream-unix-0.3.pc
|
||||
lib/skstream-0.3/include/skstream/skstreamconfig.h
|
||||
@dirrm include/skstream-0.3/skstream
|
||||
@dirrm include/skstream-0.3
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.FreeSockets
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm lib/skstream-0.3/include/skstream
|
||||
@dirrm lib/skstream-0.3/include
|
||||
@dirrm lib/skstream-0.3
|
||||
|
|
Loading…
Add table
Reference in a new issue