Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  4 Aug 2000 14:29:43 +0200 (CEST)
From:      sam@inf.enst.fr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20396: New port: devel/gpasm
Message-ID:  <20000804122943.525B43F0@antinea.enst.fr>

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

>Number:         20396
>Category:       ports
>Synopsis:       New port: devel/gpasm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 04 05:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Samuel Tardieu
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
TELECOM Paris
>Environment:
>Description:

GPASM is the GNU Pic assembler, and can compile assembly files for 12c508
and 16c84 microcontrollers family.

WWW: http://gpasm.sourceforge.net/

 -- Samuel Tardieu
    sam@inf.enst.fr

>How-To-Repeat:
>Fix:

# 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:
#
#	gpasm
#	gpasm/patches
#	gpasm/patches/patch-aa
#	gpasm/Makefile
#	gpasm/files
#	gpasm/files/md5
#	gpasm/pkg
#	gpasm/pkg/PLIST
#	gpasm/pkg/DESCR
#	gpasm/pkg/COMMENT
#
echo c - gpasm
mkdir -p gpasm > /dev/null 2>&1
echo c - gpasm/patches
mkdir -p gpasm/patches > /dev/null 2>&1
echo x - gpasm/patches/patch-aa
sed 's/^X//' >gpasm/patches/patch-aa << 'END-of-gpasm/patches/patch-aa'
X--- Makefile.in.orig	Fri Aug  4 13:51:41 2000
X+++ Makefile.in	Fri Aug  4 13:53:45 2000
X@@ -20,8 +20,14 @@
X 
X all: gpasm
X 
X-DATADIR = @prefix@/gpasm
X-CFLAGS = @CFLAGS@ -D DATADIR=\"$(DATADIR)\"	# -g --pedantic -Wall
X+prefix = @prefix@
X+CFLAGS = @CFLAGS@ -DDATADIR=\"$(DATADIR)\"    # -g --pendantic -Wall
X+LIBS = @LIBS@
X+YACC = @YACC@
X+LEX = @LEX@
X+INSTALL = @INSTALL@
X+
X+DATADIR = $(prefix)/gpasm
X SHELL = /bin/sh
X 
X # All the objects, in alphabetical order
X@@ -39,23 +46,23 @@
X 	util.o 
X 
X gpasm: $(OBJECTS)
X-	$(CC) -o gpasm $(OBJECTS) @LIBS@
X+	$(CC) -o gpasm $(OBJECTS) $(LIBS)
X 
X gpasm.tab.c gpasm.tab.h: gpasm.y
X-	@YACC@ -d gpasm.y
X+	$(YACC) -d gpasm.y
X 	mv y.tab.c gpasm.tab.c
X 	mv y.tab.h gpasm.tab.h
X 
X scan.c: scan.l gpasm.tab.h
X-	@LEX@ scan.l
X+	$(LEX) scan.l
X 	mv lex.yy.c scan.c
X 
X ########################################################################
X 
X install:
X-	@INSTALL@ -m 755 gpasm @prefix@/bin
X+	$(INSTALL) -m 755 gpasm $(prefix)/bin
X 	mkdir -m 755 -p $(DATADIR)
X-	@INSTALL@ -m 644 special.inc $(DATADIR)/special.inc
X+	$(INSTALL) -m 644 special.inc $(DATADIR)/special.inc
X 
X ########################################################################
X 
END-of-gpasm/patches/patch-aa
echo x - gpasm/Makefile
sed 's/^X//' >gpasm/Makefile << 'END-of-gpasm/Makefile'
X# New ports collection makefile for:   gpasm
X# Date created:         4 Aug 2000
X# Whom:                 Samuel Tardieu <sam@inf.enst.fr>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gpasm
XPORTVERSION=	0.0.8
XCATEGORIES=	devel
XMASTER_SITES=	http://download.sourceforge.net/gpasm/
X
XMAINTAINER=	sam@inf.enst.fr
X
XGNU_CONFIGURE=	yes
X
XMAKE_ARGS=	DATADIR=${PREFIX}/share/gpasm
X
Xpost-install:
X	strip ${PREFIX}/bin/gpasm
X
X.include <bsd.port.mk>
END-of-gpasm/Makefile
echo c - gpasm/files
mkdir -p gpasm/files > /dev/null 2>&1
echo x - gpasm/files/md5
sed 's/^X//' >gpasm/files/md5 << 'END-of-gpasm/files/md5'
XMD5 (gpasm-0.0.8.tar.gz) = 7558f7289237d8cf7b1cebc5490e7efa
END-of-gpasm/files/md5
echo c - gpasm/pkg
mkdir -p gpasm/pkg > /dev/null 2>&1
echo x - gpasm/pkg/PLIST
sed 's/^X//' >gpasm/pkg/PLIST << 'END-of-gpasm/pkg/PLIST'
Xbin/gpasm
Xshare/gpasm/special.inc
X@dirrm share/gpasm
END-of-gpasm/pkg/PLIST
echo x - gpasm/pkg/DESCR
sed 's/^X//' >gpasm/pkg/DESCR << 'END-of-gpasm/pkg/DESCR'
XGPASM is the GNU Pic assembler, and can compile assembly files for 12c508
Xand 16c84 microcontrollers family.
X
XWWW: http://gpasm.sourceforge.net/
X
X -- Samuel Tardieu
X    sam@inf.enst.fr
END-of-gpasm/pkg/DESCR
echo x - gpasm/pkg/COMMENT
sed 's/^X//' >gpasm/pkg/COMMENT << 'END-of-gpasm/pkg/COMMENT'
XGPASM is the GNU Pic 12c508 and 16c84 microcontrollers family
END-of-gpasm/pkg/COMMENT
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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