Date: Sun, 11 May 2014 15:05:53 +0930 (CST) From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/189648: Resurrect devel/asl Message-ID: <201405110535.s4B5ZrAA081451@cain.gsoft.com.au> Resent-Message-ID: <201405110540.s4B5e1Bv090333@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189648 >Category: ports >Synopsis: Resurrect devel/asl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 11 05:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Daniel O'Connor >Release: FreeBSD 9.1-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD midget.dons.net.au 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #10 r241435M: Thu Oct 11 15:03:22 CST 2012 darius@midget.dons.net.au:/usr/obj/usr/src/sys/MIDGET amd64 >Description: Resurrect devel/asl, take maintainership and update for staging. >How-To-Repeat: >Fix: http://www.gsoft.com.au/~doconnor/asl-port.shar or # 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: # # . # ./distinfo # ./Makefile # ./pkg-plist # ./pkg-descr # ./files # ./files/patch-sysdefs.h # ./files/Makefile.def # ./files/patch-Makefile # ./files/patch-as.c # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XSHA256 (asl-1.41r8.tar.gz) = 22ff3f3ccf7c3005b6f8f9014773905b309e3a8942a3a6a8fc911c8648a42345 XSIZE (asl-1.41r8.tar.gz) = 1411331 aec8793adfd5b7c3f00e62ae41a09ac2 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# New ports collection makefile for: asl X# Date created: 18 June 1997 X# Whom: Thomas Gellekum <tg@freebsd.org> X# X# $FreeBSD: head/devel/asl/Makefile 230418 2009-03-19 17:03:25Z pav $ X# X XPORTNAME= asl XPORTVERSION= 1.41r8 XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_SUNSITE} \ X ftp://john.ccac.rwth-aachen.de/pub/as/source/c_version/ XMASTER_SITE_SUBDIR= devel/lang/assemblers X XMAINTAINER= doconnor@gsoft.com.au XCOMMENT= Assembler for a variety of microcontrollers/-processors X XONLY_FOR_ARCHS= i386 alpha amd64 X XMAKE_ENV+= STAGEDIR=${STAGEDIR} X Xpost-extract: X ${CP} ${FILESDIR}/Makefile.def ${WRKSRC} X Xpost-patch: X ${REINPLACE_CMD} -e 's/mkdirhier/mkdir \-p/' ${WRKSRC}/install.sh X Xpost-install: X @${MKDIR} ${STAGEDIR}/${PREFIX}/share/doc/asl X ${INSTALL_DATA} ${WRKSRC}/doc_EN/* ${STAGEDIR}/${PREFIX}/share/doc/asl X X.include <bsd.port.mk> 464ef7c6571951809b23e262cbe26e19 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' Xbin/asl Xbin/p2hex Xbin/p2bin Xbin/pbind Xbin/plist Xman/man1/asl.1.gz Xman/man1/p2bin.1.gz Xman/man1/p2hex.1.gz Xman/man1/pbind.1.gz Xman/man1/plist.1.gz Xshare/asl/80c50x.inc Xshare/asl/80c552.inc Xshare/asl/as.msg Xshare/asl/bitfuncs.inc Xshare/asl/cmdarg.msg Xshare/asl/ctype.inc Xshare/asl/h8_3048.inc Xshare/asl/ioerrs.msg Xshare/asl/p2bin.msg Xshare/asl/p2hex.msg Xshare/asl/pbind.msg Xshare/asl/plist.msg Xshare/asl/reg166.inc Xshare/asl/reg251.inc Xshare/asl/reg29k.inc Xshare/asl/reg53x.inc Xshare/asl/reg683xx.inc Xshare/asl/reg7000.inc Xshare/asl/reg78k0.inc Xshare/asl/reg96.inc Xshare/asl/regavr.inc Xshare/asl/regcop8.inc Xshare/asl/reghc12.inc Xshare/asl/regm16c.inc Xshare/asl/regmsp.inc Xshare/asl/regst9.inc Xshare/asl/regz380.inc Xshare/asl/stddef04.inc Xshare/asl/stddef16.inc Xshare/asl/stddef17.inc Xshare/asl/stddef18.inc Xshare/asl/stddef2x.inc Xshare/asl/stddef37.inc Xshare/asl/stddef3x.inc Xshare/asl/stddef47.inc Xshare/asl/stddef51.inc Xshare/asl/stddef56k.inc Xshare/asl/stddef5x.inc Xshare/asl/stddef60.inc Xshare/asl/stddef62.inc Xshare/asl/stddef75.inc Xshare/asl/stddef87.inc Xshare/asl/stddef90.inc Xshare/asl/stddef96.inc Xshare/asl/stddefxa.inc Xshare/asl/stddefz8.inc Xshare/asl/tools.msg Xshare/doc/asl/Makefile Xshare/doc/asl/as.tex X@dirrm share/asl X@dirrm share/doc/asl ef3e7f63841ae908ba397c2bef1fbad6 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' XASL can generate code for totally different processors. These are implemented: X XMotorola 68000..68030,683xx including math co-processor and MMU; DSP56000; X Motorola/IBM MPC601/MPC505/PPC403; 6800, 6805, 6809, 68(HC)11 and X Hitachi 6301 XHitachi 6309, H8 and SH7000/7600 XRockwell 6502 and 65(S)C02 XCMD 65816 XMitsubishi MELPS-740; MELPS-7700; MELPS-4500 and M16 XIntel MCS-48/41, MCS-51, MCS-96 and 8080/8085 XAMD 29K XSiemens 80C166/167 XZilog Z80, Z180, Z380 and Z8 XToshiba TLCS-900(L), TLCS-90, TLCS-870, TLCS-47 and TLCS-9000 XMicrochip PIC16C54..16C57, PIC16C84/PIC16C64 and PIC17C42 XSGS-Thomson ST62xx and 6804 XTexas Instruments TMS32010/32015, TMS3202x, TMS320C3x and TMS370xxx XNEC uPD 78(C)1x and uPD 75xxx (a.k.a. 75K0) X XWWW: http://john.ccac.rwth-aachen.de:8000/as/ 0e313719ff012ceaf97a028d51caa8f5 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-sysdefs.h sed 's/^X//' >./files/patch-sysdefs.h << 'af08ee1109e154c8688fc856332d8c49' X--- sysdefs.h.orig 1998-11-03 23:12:15.000000000 +0100 X+++ sysdefs.h 2009-03-17 14:25:05.000000000 +0100 X@@ -524,6 +524,26 @@ X #define LOCALE_NLS X #endif X X+#ifdef __FreeBSD__ X+#define ARCHSYSNAME "unknown-freebsd" X+#define DEFSMADE X+#define OPENRDMODE "r" X+#define OPENWRMODE "w" X+#define OPENUPMODE "r+" X+#define IEEEFLOAT X+typedef signed char Integ8; X+typedef unsigned char Card8; X+typedef signed short Integ16; X+typedef unsigned short Card16; X+#define HAS16 X+typedef signed int Integ32; X+typedef unsigned int Card32; X+typedef signed long Integ64; X+typedef unsigned long Card64; X+#define HAS64 X+#define NO_NLS X+#endif X+ X #endif /* __alpha */ X X /*===========================================================================*/ X@@ -725,6 +745,38 @@ X #endif /* __i386 */ X X /*===========================================================================*/ X+/* AMD opteron/athlon64/k8 platforms */ X+ X+#ifdef __amd64__ X+ X+#define ARCHPRNAME "amd64" X+ X+/*---------------------------------------------------------------------------*/ X+/* amd64 with FreeBSD and GCC: */ X+ X+#ifdef __FreeBSD__ X+#define ARCHSYSNAME "unknown-freebsd" X+#define DEFSMADE X+#define OPENRDMODE "r" X+#define OPENWRMODE "w" X+#define OPENUPMODE "r+" X+#define IEEEFLOAT X+typedef signed char Integ8; X+typedef unsigned char Card8; X+typedef signed short Integ16; X+typedef unsigned short Card16; X+#define HAS16 X+typedef signed int Integ32; X+typedef unsigned int Card32; X+typedef signed long Integ64; X+typedef unsigned long Card64; X+#define HAS64 X+#define LOCALE_NLS X+#endif X+ X+#endif /* __amd64__ */ X+ X+/*===========================================================================*/ X /* Misc... */ X X /*---------------------------------------------------------------------------*/ af08ee1109e154c8688fc856332d8c49 echo x - ./files/Makefile.def sed 's/^X//' >./files/Makefile.def << '50c67115c6c6d82c4699419ba9f22eff' X# ------------------------------------------------------------------------- X# choose your compiler (must be ANSI-compliant!) and linker command, plus X# any additionally needed flags X XLD = ${CC} XLDFLAGS = -s X X# ------------------------------------------------------------------------- X# directories where binaries and includes should go during installation X XBINDIR = ${STAGEDIR}/${PREFIX}/bin X# *INST are where things are installed to, vs where they are searched for XINCDIR = ${PREFIX}/share/asl XINCDIRINST = ${STAGEDIR}/${PREFIX}/share/asl XLIBDIR = ${PREFIX}/share/asl XLIBDIRINST = ${STAGEDIR}/${PREFIX}/share/asl XMANDIR = ${STAGEDIR}/${PREFIX}/man XDOCDIR = X X# ------------------------------------------------------------------------- X# language AS will speak to you X# implemented so far: X# lang_DE = german X# lang_EN = english X XLANGRSC = lang_EN X X# ------------------------------------------------------------------------- X# character encoding to use (choose one of them) X X# CHARSET = CHARSET_ASCII7 X# CHARSET = CHARSET_IBM437 XCHARSET = CHARSET_ISO8859_1 50c67115c6c6d82c4699419ba9f22eff echo x - ./files/patch-Makefile sed 's/^X//' >./files/patch-Makefile << '3802d65bae4517a361f36e1d3a4f890a' X--- Makefile.orig 1999-08-01 07:11:01.000000000 +0930 X+++ Makefile 2014-05-11 14:46:32.794473751 +0930 X@@ -60,7 +60,7 @@ X cd tests; ./testall X X install: $(ALLTARGETS) X- ./install.sh $(BINDIR) $(INCDIR) $(MANDIR) $(LIBDIR) $(DOCDIR) X+ ./install.sh $(BINDIR) $(INCDIRINST) $(MANDIR) $(LIBDIRINST) $(DOCDIR) X X clean: X rm -f $(ALLTARGETS) $(RESCOMPTARGET) $(TEX2DOCTARGET) $(TEX2HTMLTARGET) *.$(OBJEXTENSION) *.p *.rsc tests/testlog 3802d65bae4517a361f36e1d3a4f890a echo x - ./files/patch-as.c sed 's/^X//' >./files/patch-as.c << 'd43e98b6d66a60133f2e47a098c20085' X--- as.c.orig Sat May 9 15:13:05 1998 X+++ as.c Fri Dec 11 17:14:47 1998 X@@ -2577,6 +2577,13 @@ X X ParamCount=argc-1; ParamStr=argv; X X+ if (ParamCount == 0) X+ BEGIN X+ fprintf(stderr, "Usage: %s [ option(s) ] file(s) [ option(s) ] file(s)\n", X+ argv[0]); X+ exit(0); X+ END X+ X if (First) X BEGIN X endian_init(); nls_init(); bpemu_init(); stdhandl_init(); d43e98b6d66a60133f2e47a098c20085 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405110535.s4B5ZrAA081451>