Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 11:51:53 GMT
From:      Jesse Scott <mathemajikian@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/102092: Fixed build problem of myth2_demo
Message-ID:  <200608151151.k7FBprYA013290@www.freebsd.org>
Resent-Message-ID: <200608151200.k7FC0dCU012194@freefall.freebsd.org>

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

>Number:         102092
>Category:       ports
>Synopsis:       Fixed build problem of myth2_demo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 15 12:00:38 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@mathemajikian.mersenne:/usr/obj/usr/src/sys/MATHEMAJIKIAN  i386

>Description:
Myth2_demo can be installed and can be fully installed if user has Myth2 CDROM. 

# New ports collection makefile for:    myth2_demo
# Date created:                         2006-09-15
# Whom:                                 Jesse Scott     
#
# $FreeBSD: ports/games/myth2_demo/Makefile,v 1.1 2006/09/15 09:14:22 Jesse Scott Exp $
#

PORTNAME=       myth2_demo
PORTVERSION=    1.3e
CATEGORIES=     games linux
MASTER_SITES=   ftp://sunsite.dk/mirrors/lokigames/updates/loki_demos/          
PKGNAMEPREFIX=  linux-
DISTNAME=       myth2-demo
EXTRACT_SUFX=   .run
EXTRACT_ONLY=

MAINTAINER=     Mathemajikian@gmail.com 
COMMENT=        Myth2_Demo
NO_WRKSUBDIR=   yes
NO_BUILD=       yes
ONLY_FOR_ARCHS= i386
PLIST=          ${WRKDIR}/plist
RESTRICTED=     "no license"
NO_CDROM=       ${RESTRICTED}
NO_FTP=         ${RESTRICTED}
USE_LINUX=      yes
USE_X_PREFIX=   yes
mathemajikian# more Makefile
# New ports collection makefile for:    myth2_demo
# Date created:                         2006-09-15
# Whom:                                 Jesse Scott     
#
# $FreeBSD: ports/games/myth2_demo/Makefile,v 1.1 2006/09/15 09:14:22 Jesse Scott Exp $
#

PORTNAME=       myth2_demo
PORTVERSION=    1.3e
CATEGORIES=     games linux
MASTER_SITES=   ftp://sunsite.dk/mirrors/lokigames/updates/loki_demos/          
PKGNAMEPREFIX=  linux-
DISTNAME=       myth2-demo
EXTRACT_SUFX=   .run
EXTRACT_ONLY=

MAINTAINER=     Mathemajikian@gmail.com 
COMMENT=        Myth2_Demo
NO_WRKSUBDIR=   yes
NO_BUILD=       yes
ONLY_FOR_ARCHS= i386
PLIST=          ${WRKDIR}/plist
RESTRICTED=     "no license"
NO_CDROM=       ${RESTRICTED}

NO_FTP=         ${RESTRICTED}
USE_LINUX=      yes
USE_X_PREFIX=   yes
WRKSRC=         ${WRKDIR}/update/demos/myth2_demo/

do-extract:
        ${MKDIR} ${WRKDIR}
        ${SED} -e 1,174d < ${DISTDIR}/${DISTFILES} | ${TAR} -C ${WRKDIR} -xzvf -

do-patch:
        ${MKDIR} ${WRKSRC}
        cd ${WRKDIR} && bin/Linux/x86/loki_patch patch.dat ${WRKDIR}/update
        ${RM} -f ${WRKSRC}/myth2_demo.ppc
        - ${MV} ${WRKSRC}/README ${WRKDIR}

pre-install:
        ${ECHO_CMD} bin/myth2_demo.x86 > ${PLIST}
.ifndef(NOPORTDOCS)
        ${ECHO_CMD} share/doc/myth2_demo/README >> ${PLIST}
.endif
        ${FIND} ${WRKSRC}/ -type f | \
                ${PERL} -pi -e "s:^${WRKSRC}/:lib/myth2_demo/:g" >> ${PLIST}
        ${FIND} -d ${WRKSRC}/ -type d | \
                ${PERL} -pi -e "s:^${WRKSRC}/:\@dirrm lib/myth2_demo/:g" >> \
                        ${PLIST}

do-install:
        ${MKDIR} ${PREFIX}/lib/myth2_demo
.ifndef(NOPORTDOCS)
        ${MKDIR} ${DOCSDIR}
        ${INSTALL_DATA} ${WRKDIR}/README ${DOCSDIR}
.endif
        cd ${WRKSRC} && pax -r -w * ${PREFIX}/lib/myth2_demo
        cd ${PREFIX}/bin && ${LN} -s ../lib/myth2_demo/myth2_demo.x86

.include <bsd.port.mk>



>How-To-Repeat:
N/A
>Fix:
Update ports
>Release-Note:
>Audit-Trail:
>Unformatted:



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