Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2006 18:16:36 GMT
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/97803: New port: emulators/xhomer - Emulator for the DEC Pro 350 computer
Message-ID:  <200605241816.k4OIGaeL001344@www.freebsd.org>
Resent-Message-ID: <200605241820.k4OIKELS069297@freefall.freebsd.org>

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

>Number:         97803
>Category:       ports
>Synopsis:       New port: emulators/xhomer - Emulator for the DEC Pro 350 computer
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 24 18:20:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        
>Organization:
>Environment:
>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:
#
#       xhomer
#       xhomer/Makefile
#       xhomer/distinfo
#       xhomer/pkg-descr
#       xhomer/pkg-plist
#       xhomer/files
#       xhomer/files/patch-Makefile
#
echo c - xhomer
mkdir -p xhomer > /dev/null 2>&1
echo x - xhomer/Makefile
sed 's/^X//' >xhomer/Makefile << 'END-of-xhomer/Makefile'
X# New ports collection makefile for:   xhomer
X# Date created:                        24 May 2006
X# Whom:                                trasz
X#
X# $FreeBSD$
X#
X
XPORTNAME=      xhomer
XDISTVERSION=   12-14-03
XCATEGORIES=    emulators
XMASTER_SITES=  http://xhomer.isani.org/xhomer/
XEXTRACT_SUFX=  .tgz
X
XMAINTAINER=    trasz@pin.if.uz.zgora.pl
XCOMMENT=       Emulator for the DEC Pro 350 computer
X
XUSE_GMAKE=     yes
XUSE_XLIB=      yes
XALL_TARGET=    clean xhomer
XINSTALL_TARGET=
XCFLAGS+=       -Wall -ffloat-store
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X       ${MKDIR} ${DOCSDIR}
X       ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
X       ${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
X       ${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
X.endif
X       ${INSTALL_PROGRAM} ${WRKSRC}/xhomer ${PREFIX}/bin
X       ${INSTALL_DATA} ${WRKSRC}/xhomer.cfg ${PREFIX}/etc
X
X.include <bsd.port.mk>
END-of-xhomer/Makefile
echo x - xhomer/distinfo
sed 's/^X//' >xhomer/distinfo << 'END-of-xhomer/distinfo'
XMD5 (xhomer-12-14-03.tgz) = 7eab258f5a130be9950c2032a9e10946
XSHA256 (xhomer-12-14-03.tgz) = ed043165ef650997b79aadcf675bdeeddce7bcaae8572222d2bfa09c95f277fc
XSIZE (xhomer-12-14-03.tgz) = 312166
END-of-xhomer/distinfo
echo x - xhomer/pkg-descr
sed 's/^X//' >xhomer/pkg-descr << 'END-of-xhomer/pkg-descr'
XXhomer is a machine emulator for the Digital Equipment Corporation
X(DEC) Pro 350 computer, a PDP-11-based machine that was sold in the
Xearly to mid-'80's.  Xhomer is based on the PDP-11 CPU core from
Xthe SIMH simulator, and is written entirely in C.
X
XWWW: http://xhomer.isani.org/
END-of-xhomer/pkg-descr
echo x - xhomer/pkg-plist
sed 's/^X//' >xhomer/pkg-plist << 'END-of-xhomer/pkg-plist'
Xbin/xhomer
Xetc/xhomer.cfg
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X@dirrm %%PORTDOCS%%%%DOCSDIR%%
END-of-xhomer/pkg-plist
echo c - xhomer/files
mkdir -p xhomer/files > /dev/null 2>&1
echo x - xhomer/files/patch-Makefile
sed 's/^X//' >xhomer/files/patch-Makefile << 'END-of-xhomer/files/patch-Makefile'
X--- Makefile.orig      Tue Dec  9 18:36:07 2003
X+++ Makefile   Wed May 24 19:59:13 2006
X@@ -115,17 +115,17 @@
X # C-Compiler configuration
X 
X # All the rest of the flags in this section assume gcc
X-CC=gcc -Wall
X+#CC=gcc -Wall
X # -Wchar-subscripts -W -Wshadow -Wconversion
X # -Wtraditional -Wstrict-prototypes
X 
X # This prevents "undesirable excess precision" on some machines, says gcc
X-CC += -ffloat-store
X+#CC += -ffloat-store
X 
X # The 1st choice runs about 15% slower than the 2nd (-O3 -fomit-frame-pointer).
X # but it (re)compiles faster and unlike the second choice, it is debuggable.
X # CC += -g -O -fno-inline
X-CC += -O3 -Winline -fomit-frame-pointer
X+#CC += -O3 -Winline -fomit-frame-pointer
X 
X # Some older gcc's need this on i386 to work around a bug.  As long as
X # omit-frame-pointer is also set, it doesn't seem to hurt performance, so
X@@ -184,8 +184,8 @@
X 
X   # Try this as the default place for X11 stuff and ncurses
X 
X-  CCINCS = -I$(X11DIR)/include -I/usr/X11/include -I$(NCURSESINC)
X-  CCLIBS = -L$(X11DIR)/lib     -L/usr/X11/lib     -L$(NCURSESLIB)
X+  CCINCS = -I$(X11DIR)/include
X+  CCLIBS = -L$(X11DIR)/lib -L$(NCURSESLIB)
X 
X   # But some vendors put things in non-standard places
X 
END-of-xhomer/files/patch-Makefile
exit


>How-To-Repeat:

>Fix:

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



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