Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358 - aplus-fsf-4.18.ebuild
Summary: aplus-fsf-4.18.ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Bruce A. Locke (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2002-01-27 09:18 UTC by Brian Crouch
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Crouch 2002-01-27 09:18:21 UTC
A+ is a powerful and efficient programming language.

Attatched is the .ebuild for installing the aplus language.

I guess it should go in dev-lang

A+ website is at: http://www.aplusdev.org
Comment 1 Brian Crouch 2002-01-27 12:17:16 UTC
Okay, for some reason bugs.gentoo.org didn't want to accept my file 
attachment. It worked before.. but for some reason it didn't work this time.
So I'll include it here. Sorry about the formatting errors in a cut and 
paste.

## Begin Script ------------------------------------------------

# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Brian Crouch bigdaddy@bigdaddys-world.com
# /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.11 2001/12/06 22:12:34 
drobbins Exp

#Note: A proper uninstall whould delete the following directory and file.
#		/usr/local/aplus-fsf-4.18/
#		/etc/env.d/05aplus
#  It would also be a good thing to remove the following line from you 
.emacs file
#		(load "/usr/local/aplus-fsf-4.18/lisp/aplus")
#

#	20020127	initial verion

SRC=aplus-fsf-4.18
VER=8

S=${WORKDIR}/${SRC}

DESCRIPTION="A+ is a powerful and efficient programming language."

SRC_URI="http://www.aplusdev.org/Download/${SRC}-${VER}.tar.gz"

HOMEPAGE="http://www.aplusdev.org"

DEPEND=">=x11-base/xfree-4.0.1
		app-editors/xemacs"

src_compile() {
	local OPTS
	OPTS="--with-x"
    OPTS="${OPTS} --x-includes=/usr/X11R6/include" 
	OPTS="${OPTS} --x-libraries=/usr/X11R6/lib"
	OPTS="${OPTS} --with-gnu-ld"

	./configure \
		--host=${CHOST} \
		--prefix=/usr/local/aplus-fsf-4.18/ \
		${OPTS} || die "./configure failed"
	
	emake || die "make problems"
}

src_install() {
	make ${MAKEOPTS} install || die "make install"
}

pkg_postinst() {
	#	A+ has a lot of strange symbols.. Just adding the fonts
	cp -f ${S}/src/fonts/X11/pcf/* /usr/X11R6/lib/X11/fonts/misc/
	(cd /usr/X11R6/lib/X11/fonts/misc
		/usr/X11R6/bin/mkfontdir
   		if [ 0 = `grep -c kapl fonts.alias` ]
			then
			cat Kapl.alias >> fonts.alias
		fi
	)
	
	echo ""
	echo 
"****************************************************************"
	echo "If you use xemacs:"
	echo "Add the following line to you .emacs in your home directory"
	echo "	(load "/usr/local/aplus-fsf-4.18/lisp/aplus")"
	echo "Try the following command as the desired user"
	echo "echo (load "/usr/local/aplus-fsf-4.18/lisp/aplus") >> ~/.emacs"
	echo "Unfortunately this line breaks emacs, that is aplus' fault."
	echo "	for details see: 
http://www.aplusdev.org/FAQ/index.html#toc003"
	echo 
"****************************************************************"
	echo ""

	#creating the file in /etc/env.d
        echo APLUSDIR=/usr/local/aplus-fsf-4.18/ > /etc/env.d/05aplus
	echo PATH=/usr/local/aplus-fsf-4.18/bin >> /etc/env.d/05aplus
	echo ROOTPATH=/usr/local/aplus-fsf-4.18/bin >> /etc/env.d/05aplus
	echo LDPATH=/usr/local/aplus-fsf-4.18/lib >> /etc/env.d/05aplus
	echo MANPTH=/usr/local/aplus-fsf-4.18/man >> /etc/env.d/05aplus
	echo INFODIR=/usr/local/aplus-fsf-4.18/info >> /etc/env.d/05aplus

}

## End Script --------------------------------------------------
Comment 2 Bruce A. Locke (RETIRED) gentoo-dev 2002-02-28 22:14:13 UTC
Hmmm... this ebuild didn't seem to survive bugzilla very well... Could you post
a url for the package?
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-03-01 13:42:15 UTC
The original author claims to have found numerous bugs in the ebuild below and
has promised to send an updated version. I suggest you put this bug on "LATER"
or "REMIND", unless you need it yourself.
Comment 4 Bruce A. Locke (RETIRED) gentoo-dev 2002-03-02 12:10:16 UTC
No response from ebuild author.
Comment 5 Bruce A. Locke (RETIRED) gentoo-dev 2002-11-05 23:58:33 UTC
Zombie bug!  Run for the hills!