Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2009 21:09:51 GMT
From:      Vital Driedfruit <flambard@mangband.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/134052: Update port: games/mangband to latest version
Message-ID:  <200904272109.n3RL9pO2027575@www.freebsd.org>
Resent-Message-ID: <200904272110.n3RLA485014360@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134052
>Category:       ports
>Synopsis:       Update port: games/mangband to latest version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 27 21:10:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Vital Driedfruit
>Release:        7.1
>Organization:
MAngband Project Team
>Environment:
FreeBSD driedfruit.mindloop.net 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Apr 14 03:21:08 UTC 2009     driedfruit@driedfruit.mindloop.net:/usr/obj/usr/src/sys/DRIEDFRUIT  i386
>Description:
MAngband is a free online multiplayer real-time roguelike game, derived from the single player game Angband.

>How-To-Repeat:

>Fix:
Attached shar:

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	./mangband
#	./mangband/pkg-plist
#	./mangband/pkg-descr
#	./mangband/pkg-deinstall
#	./mangband/Makefile
#	./mangband/distinfo
#
echo c - ./mangband
mkdir -p ./mangband > /dev/null 2>&1
echo x - ./mangband/pkg-plist
sed 's/^X//' >./mangband/pkg-plist << 'f31838bcb49a58dfab3ed3ceebb2ed7b'
f31838bcb49a58dfab3ed3ceebb2ed7b
echo x - ./mangband/pkg-descr
sed 's/^X//' >./mangband/pkg-descr << '16a93ee05046403f4d74fe69e92cac94'
XMAngband is a free online multiplayer real-time roguelike game,
X derived from the single player game Angband.
X
XWWW: http://mangband.org/
X
X-Flambard
X flambard@mangband.org
16a93ee05046403f4d74fe69e92cac94
echo x - ./mangband/pkg-deinstall
sed 's/^X//' >./mangband/pkg-deinstall << 'f93ee5302b3b3fddbc62a40b1748de32'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
XPREFIX=${PKG_PREFIX}
Xif [ "$2" != "POST-DEINSTALL" ]; then
X	exit 0
Xfi
X
Xrm ${PREFIX}/bin/mangband
Xrm ${PREFIX}/bin/mangclient
X
XMALIB=${PREFIX}/share/games/mangband
X
Xrm -fR ${MALIB}/*
Xrmdir ${MALIB}
X
Xexit 0
f93ee5302b3b3fddbc62a40b1748de32
echo x - ./mangband/Makefile
sed 's/^X//' >./mangband/Makefile << '43f7611f1d5b3ebc42a873e170cea031'
X# New ports collection makefile for:   mangband
X# Date created:         Mon Apr 27 21:33:56 UTC 2009
X# Whom:                 root
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mangband
XPORTVERSION=	1.1.2
XCATEGORIES=	games
XMASTER_SITES=	http://www.mangband.org/ http://www.mangband.org/download/
X
XMAINTAINER=	flambard@mangband.org
XCOMMENT=	Free online multiplayer real-time roguelike game
X
XALL_TARGET=	mangclient mangband
X#IS_INTERACTIVE=yes
XWRKSRC= 	${WRKDIR}/${DISTNAME}/src
XGNU_CONFIGURE=yes
XUSE_GMAKE=	yes
X
XOPTIONS=GCU "Display module GCU" On \
X	X11 "Display module X11" Off \
X	SDL "Display module SDL" Off \
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_GCU)
XLIB_DEPENDS+=       ncurses:${PORTSDIR}/devel/ncurses
XCONFIGURE_ARGS+=    --with-gcu
X.else
XCONFIGURE_ARGS+=    --without-gcu
X.endif
X
X.if defined(WITH_X11)
XLIB_DEPENDS+=       X11.6:${PORTSDIR}/x11/libX11
XCONFIGURE_ARGS+=    --with-x11
X.else
XCONFIGURE_ARGS+=    --without-x11
X.endif
X
X.if defined(WITH_SDL)
XLIB_DEPENDS+=       SDL-1.2:${PORTSDIR}/devel/sdl12
XCONFIGURE_ARGS+=    --with-sdl
X.else
XCONFIGURE_ARGS+=    --without-sdl
X.endif
X
XWRKTOP= 	${WRKDIR}/${DISTNAME}
X# do-install Originally written for 060
X# by adam-ports@blacktabby.org
XMALIB=	${PREFIX}/share/games/mangband
Xdo-install:
X	@${INSTALL_PROGRAM} -o root -g games -m 2550 \
X		${WRKSRC}/mangband ${PREFIX}/bin
X	@${INSTALL_PROGRAM} ${WRKSRC}/mangclient ${PREFIX}/bin
X	@${ECHO_MSG} "   LIBDIR "
X	@${ECHO_MSG} "       : ${MALIB} "
X	@${ECHO_MSG} "  "
X	@${MKDIR} ${MALIB}/file
X	@${CP} ${WRKTOP}/mangband.cfg ${PREFIX}/etc
X	@echo "# FreeBSD Hacks" >> ${PREFIX}/etc/mangband.cfg
X	@echo "EDIT_DIR = \"${MALIB}/edit\"" >> ${PREFIX}/etc/mangband.cfg
X	@echo "SAVE_DIR = \"${MALIB}/save\"" >> ${PREFIX}/etc/mangband.cfg
X	@echo "DATA_DIR = \"${MALIB}/data\"" >> ${PREFIX}/etc/mangband.cfg
X	@cd ${WRKSRC}/../lib && ${PAX} -rw * ${MALIB}
X	@${CHMOD} 750 ${MALIB}/*
X	@${CHMOD} 755 ${MALIB}/user
X	@${CHMOD} 755 ${MALIB}/xtra
X	@${CHOWN} -R root:games ${MALIB}/*
X	@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${MALIB}
X	@${ECHO_MSG} "   SERVER "
X	@${ECHO_MSG} "    bin: ${PREFIX}/bin/mangband"
X	@${ECHO_MSG} " config: ${PREFIX}/etc/mangband.cfg"
X	@${ECHO_MSG} "  "
X	@echo "[MAngband]" >> ${HOME}/.mangrc
X	@echo "LibDir ${MALIB}/" >> ${HOME}/.mangrc
X	@${ECHO_MSG} "   CLIENT "
X	@${ECHO_MSG} "    bin: ${PREFIX}/bin/mangclient"
X	@${ECHO_MSG} " config: ~/.mangrc (see ${HOME}/.mangrc)"
X
X.include <bsd.port.post.mk>
43f7611f1d5b3ebc42a873e170cea031
echo x - ./mangband/distinfo
sed 's/^X//' >./mangband/distinfo << 'a36eac260f4b42b7790a61f837da72ca'
XMD5 (mangband-1.1.2.tar.gz) = f6bf8d8fb0533c94e2f520d53b0815b0
XSHA256 (mangband-1.1.2.tar.gz) = 648d079417edda959302b2d77f169977b5c3a00ad58c2268dd6f9c1f6fbc2b49
XSIZE (mangband-1.1.2.tar.gz) = 1485354
a36eac260f4b42b7790a61f837da72ca
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904272109.n3RL9pO2027575>