ports/102093: Fixed Myth2_demo build problem.
Jesse Scott
mathemajikian at gmail.com
Tue Aug 15 13:10:18 UTC 2006
>Number: 102093
>Category: ports
>Synopsis: Fixed Myth2_demo build problem.
>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: Tue Aug 15 13:10:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jesse Scott
>Release: 6.1-STABLE
>Organization:
>Environment:
FreeBSD mathemajikian.mersenne 6.1-STABLE FreeBSD 6.1-STABLE #7: Sun Jul 30 12:15:30 BST 2006 mathemajikian at mathemajikian.mersenne:/usr/obj/usr/src/sys/MATHEMAJIKIAN i386
>Description:
# 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:
#
# Makefile
# distinfo
# pkg-descr
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for: myth2_demo
X# Date created: 2006-09-15
X# Whom: Jesse Scott
X#
X# $FreeBSD: ports/games/myth2_demo/Makefile,v 1.1 2006/09/15 09:14:22 Jesse Scott Exp $
X#
X
XPORTNAME= myth2_demo
XPORTVERSION= 1.3e
XCATEGORIES= games linux
XMASTER_SITES= ftp://sunsite.dk/mirrors/lokigames/updates/loki_demos/
XPKGNAMEPREFIX= linux-
XDISTNAME= myth2-demo
XEXTRACT_SUFX= .run
XEXTRACT_ONLY=
X
XMAINTAINER= Mathemajikian at gmail.com
XCOMMENT= Myth2_Demo
XNO_WRKSUBDIR= yes
XNO_BUILD= yes
XONLY_FOR_ARCHS= i386
XPLIST= ${WRKDIR}/plist
XRESTRICTED= "no license"
XNO_CDROM= ${RESTRICTED}
XNO_FTP= ${RESTRICTED}
XUSE_LINUX= yes
XUSE_X_PREFIX= yes
XWRKSRC= ${WRKDIR}/update/demos/myth2_demo/
X
Xdo-extract:
X ${MKDIR} ${WRKDIR}
X ${SED} -e 1,174d < ${DISTDIR}/${DISTFILES} | ${TAR} -C ${WRKDIR} -xzvf -
X
Xdo-patch:
X ${MKDIR} ${WRKSRC}
X cd ${WRKDIR} && bin/Linux/x86/loki_patch patch.dat ${WRKDIR}/update
X ${RM} -f ${WRKSRC}/myth2_demo.ppc
X - ${MV} ${WRKSRC}/README ${WRKDIR}
X
Xpre-install:
X ${ECHO_CMD} bin/myth2_demo.x86 > ${PLIST}
X.ifndef(NOPORTDOCS)
X ${ECHO_CMD} share/doc/myth2_demo/README >> ${PLIST}
X.endif
X ${FIND} ${WRKSRC}/ -type f | \
X ${PERL} -pi -e "s:^${WRKSRC}/:lib/myth2_demo/:g" >> ${PLIST}
X ${FIND} -d ${WRKSRC}/ -type d | \
X ${PERL} -pi -e "s:^${WRKSRC}/:\@dirrm lib/myth2_demo/:g" >> \
X ${PLIST}
X
Xdo-install:
X ${MKDIR} ${PREFIX}/lib/myth2_demo
X.ifndef(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKDIR}/README ${DOCSDIR}
X.endif
X cd ${WRKSRC} && pax -r -w * ${PREFIX}/lib/myth2_demo
X cd ${PREFIX}/bin && ${LN} -s ../lib/myth2_demo/myth2_demo.x86
X
X.include <bsd.port.mk>
X
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (myth2-demo.run) = 2e5384cf95540d1ae8d6d0aa0b6bfd5c
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
Xfrom the README:
X This playable demo of Myth II: Soulblighter for Linux has the following
X limitations over the full game:
X - Only three maps are available: two for solo games and one
X for multi-player games.
X - Guest-only login to Bungie.net
X [...] you will only be able to play this demo with other Myth II for Linux
X Demo v1.3e users.
Xfrom the Web page:
X Sharpen your swords and fire up the cauldrons--Soulblighter is back!
X Bungie's thrilling strategy adventure, Myth II: Soulblighter, brings back the
X scourge of the West and challenges you with all-new scenarios and improved
X graphics and 3D rendering.
X In command of a ragtag army of berserkers, dwarves, soldiers and sorcerers,
X you are the last hope (yet again) of saving the folk of Madrigal and the West
X from the evil might of Soulblighter and his minions. Test your fortitiude by
X challenging others on your network or online to a battle to the death, or cross
X swords and sages with Soulblighter himself. For fantasy gamers, this is far
X better than a slab of roast beast washed down with a tall ale...
X
X
XWWW: http://www.lokigames.com/products/myth2/
X
END-of-pkg-descr
exit
>How-To-Repeat:
N/A
>Fix:
Corrected build issues involving port dependency and /dev/dsp crash bug for FreeBSD.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list