Skip site navigation (1)Skip section navigation (2)
Date:      30 Apr 2000 05:37:00 -0000
From:      lioux@uol.com.br
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18308: Update port for lang/hugs to version 98 Feb2000
Message-ID:  <20000430053700.80169.qmail@Fedaykin.here>

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

>Number:         18308
>Category:       ports
>Synopsis:       Update port for lang/hugs to version 98 Feb2000
>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:   Sat Apr 29 22:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

FreeBSD Here.here 4.0-STABLE FreeBSD 4.0-STABLE #14: Thu Apr 27 19:13:35 EST 2000     root@Here.here:/usr/src/sys/compile/LIOUX  i386

>Description:

Just an update to the latest official release.
New files: 
	patches/patch-aa

>How-To-Repeat:

n/a

>Fix:

diff -ruN /usr/ports/lang/hugs/Makefile ./Makefile
--- /usr/ports/lang/hugs/Makefile	Wed Apr 12 13:46:50 2000
+++ ./Makefile	Sun Apr 30 02:25:38 2000
@@ -9,7 +9,7 @@
 PORTVERSION=	98
 CATEGORIES=	lang
 MASTER_SITES=	ftp://www.cse.ogi.edu/pub/pacsoft/hugs/
-DISTNAME=	Hugs98-Sep1999
+DISTNAME=	${PORTNAME}${PORTVERSION}-${HUGS_DATE}
 
 MAINTAINER=	Torsten.Grust@uni-konstanz.de
 
@@ -18,32 +18,25 @@
 ALL_TARGET=	default
 
 # how to install a directory
-INSTALL_DIR=	${INSTALL} -d -o bin -g bin -m 755
+INSTALL_DIR=	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755
 # where the Hugs documentation (distribution) files live
 HUGS_DOC=	${WRKDIR}/hugs98/docs
+# Little hack to teach it to use our install
+MAKE_ENV+=	HACK_INSTALL_DIR="${INSTALL_DIR}"
+HUGS_DATE=	Feb2000
 
 MAN1=		hugs.1
 
 post-install:
-	strip ${PREFIX}/bin/hugs
-	strip ${PREFIX}/bin/runhugs
 	${SED} -e "s#Prelude\.hs#lib/&#" \
 	       -e "s#^\.ds LB .*#.ds LB ${PREFIX}/share/hugs#" \
 	       -e "s#^\.ds BN .*#.ds BN ${PREFIX}/bin#" \
 	       < ${HUGS_DOC}/hugs.1 > ${HUGS_DOC}/hugs.1.fix
 	${INSTALL_MAN} ${HUGS_DOC}/hugs.1.fix ${PREFIX}/man/man1/${MAN1}
 	${RM} ${HUGS_DOC}/hugs.1.fix
-	# fix owner/permissions
-	find ${PREFIX}/share/hugs -type d | xargs ${CHMOD} 755
-	find ${PREFIX}/share/hugs -type f | xargs ${CHMOD} ${SHAREMODE}
-	find ${PREFIX}/share/hugs         | xargs ${CHOWN} ${SHAREOWN}.${SHAREGRP}
 .if !defined(NOPORTDOCS)
-	${INSTALL_DIR} ${PREFIX}/share/doc/hugs
-	${CP} -R ${HUGS_DOC}/* ${PREFIX}/share/doc/hugs
-	# fix owner/permissions
-	find ${PREFIX}/share/doc/hugs -type d | xargs ${CHMOD} 755
-	find ${PREFIX}/share/doc/hugs -type f | xargs ${CHMOD} ${SHAREMODE}
-	find ${PREFIX}/share/doc/hugs         | xargs ${CHOWN} ${SHAREOWN}.${SHAREGRP}
+	${INSTALL_DIR} -d ${PREFIX}/share/doc/hugs
+	${INSTALL_DATA} ${HUGS_DOC}/* ${PREFIX}/share/doc/hugs
 .endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/lang/hugs/files/md5 ./files/md5
--- /usr/ports/lang/hugs/files/md5	Sun Nov 21 11:45:05 1999
+++ ./files/md5	Sun Apr 30 02:24:39 2000
@@ -1 +1 @@
-MD5 (Hugs98-Sep1999.tar.gz) = da134de8b755da4675e5e5143c4b1ec4
+MD5 (hugs98-Feb2000.tar.gz) = 2d2281cc9d6f002526402636c685e11d
diff -ruN /usr/ports/lang/hugs/patches/patch-aa ./patches/patch-aa
--- /usr/ports/lang/hugs/patches/patch-aa	Wed Dec 31 21:00:00 1969
+++ ./patches/patch-aa	Sun Apr 30 02:24:39 2000
@@ -0,0 +1,13 @@
+--- MkInstal.in.ORIG	Sun Apr 30 01:09:58 2000
++++ MkInstal.in	Sun Apr 30 01:10:23 2000
+@@ -10,8 +10,8 @@
+ # multiple files at once.
+ ################################################################
+ 
+-INSTALL		= unix/install-sh
+-INSTALL_DATA	= /bin/cp
++INSTALL		= $(HACK_INSTALL_DIR)
++INSTALL_DATA	= $(BSD_INSTALL_DATA)
+ 
+ install		:: install_bin install_lib            # the bare minimum
+ install		:: install_libs                       # lotsa libraries
diff -ruN /usr/ports/lang/hugs/pkg/DESCR ./pkg/DESCR
--- /usr/ports/lang/hugs/pkg/DESCR	Sun Nov 21 11:45:06 1999
+++ ./pkg/DESCR	Sun Apr 30 02:24:39 2000
@@ -8,5 +8,7 @@
 
 More online information is available from http://www.haskell.org/
 
+WWW: http://www.haskell.org/
+
 -- Teggy
 teggy@teggy.org
diff -ruN /usr/ports/lang/hugs/pkg/PLIST ./pkg/PLIST
--- /usr/ports/lang/hugs/pkg/PLIST	Sun Nov 21 11:45:06 1999
+++ ./pkg/PLIST	Sun Apr 30 02:24:39 2000
@@ -1,87 +1,87 @@
 bin/hugs
 bin/runhugs
+share/hugs/demos/AnsiDemo.hs
+share/hugs/demos/ArrayEx.hs
+share/hugs/demos/Calendar.hs
+share/hugs/demos/CommaInt.lhs
+share/hugs/demos/Demos.hs
+share/hugs/demos/Eliza.hs
+share/hugs/demos/EvalRed.hs
+share/hugs/demos/Examples.hs
+share/hugs/demos/Expr.hs
+share/hugs/demos/FastSort.hs
+share/hugs/demos/Gofer.hs
+share/hugs/demos/Lattice.hs
+share/hugs/demos/Ldfs.hs
+share/hugs/demos/Literate.lhs
+share/hugs/demos/Matrix.hs
+share/hugs/demos/Mersenne.hs
+share/hugs/demos/Minsrand.hs
+share/hugs/demos/Queens.hs
+share/hugs/demos/Say.hs
+share/hugs/demos/Stack.hs
+share/hugs/demos/Tree.hs
+share/hugs/demos/prolog/AndorraEngine.hs
+share/hugs/demos/prolog/CombParse.hs
+share/hugs/demos/prolog/Main.hs
+share/hugs/demos/prolog/Prolog.hs
+share/hugs/demos/prolog/PureEngine.hs
+share/hugs/demos/prolog/StackEngine.hs
+share/hugs/demos/prolog/Subst.hs
+share/hugs/demos/prolog/readme
+share/hugs/demos/prolog/stdlib
 share/hugs/lib/Array.hs
-share/hugs/lib/Ratio.hs
-share/hugs/lib/Random.hs
-share/hugs/lib/Prelude.hs
-share/hugs/lib/Numeric.hs
+share/hugs/lib/Char.hs
+share/hugs/lib/Complex.hs
+share/hugs/lib/IO.hs
+share/hugs/lib/Ix.hs
+share/hugs/lib/List.hs
 share/hugs/lib/Locale.lhs
-share/hugs/lib/Monad.hs
 share/hugs/lib/Maybe.hs
-share/hugs/lib/List.hs
-share/hugs/lib/Ix.hs
-share/hugs/lib/IO.hs
-share/hugs/lib/Complex.hs
-share/hugs/lib/Char.hs
+share/hugs/lib/Monad.hs
+share/hugs/lib/Numeric.hs
+share/hugs/lib/Prelude.hs
+share/hugs/lib/Random.hs
+share/hugs/lib/Ratio.hs
 share/hugs/lib/System.hs
-share/hugs/lib/hugs/AnsiInteract.hs
-share/hugs/lib/hugs/Trace.hs
-share/hugs/lib/hugs/StdLibs.hs
-share/hugs/lib/hugs/Sequence.hs
-share/hugs/lib/hugs/ParseLib.hs
-share/hugs/lib/hugs/OldWeak.hs
-share/hugs/lib/hugs/Number.hs
-share/hugs/lib/hugs/ListUtils.hs
-share/hugs/lib/hugs/Interact.hs
-share/hugs/lib/hugs/IOExtensions.hs
-share/hugs/lib/hugs/HugsLibs.hs
-share/hugs/lib/hugs/HugsInternals.hs
-share/hugs/lib/hugs/HugsDynamic.hs
-share/hugs/lib/hugs/GenericPrint.hs
-share/hugs/lib/hugs/CVHAssert.hs
-share/hugs/lib/hugs/AnsiScreen.hs
-share/hugs/lib/hugs/Trex.hs
 share/hugs/lib/exts/Addr.hs
-share/hugs/lib/exts/Weak.hs
-share/hugs/lib/exts/Stable.hs
-share/hugs/lib/exts/Semaphore.lhs
-share/hugs/lib/exts/SampleVar.lhs
-share/hugs/lib/exts/ST.hs
-share/hugs/lib/exts/Pretty.lhs
-share/hugs/lib/exts/NumExts.hs
-share/hugs/lib/exts/Memo.hs
-share/hugs/lib/exts/LazyST.hs
-share/hugs/lib/exts/Int.hs
-share/hugs/lib/exts/IOExts.hs
-share/hugs/lib/exts/GetOpt.lhs
-share/hugs/lib/exts/Foreign.hs
-share/hugs/lib/exts/Dynamic.lhs
-share/hugs/lib/exts/Concurrent.lhs
-share/hugs/lib/exts/ConcBase.hs
-share/hugs/lib/exts/ChannelVar.lhs
-share/hugs/lib/exts/Channel.lhs
 share/hugs/lib/exts/Bits.hs
+share/hugs/lib/exts/Channel.lhs
+share/hugs/lib/exts/ChannelVar.lhs
+share/hugs/lib/exts/ConcBase.hs
+share/hugs/lib/exts/Concurrent.lhs
+share/hugs/lib/exts/Dynamic.lhs
+share/hugs/lib/exts/Foreign.hs
+share/hugs/lib/exts/GetOpt.lhs
+share/hugs/lib/exts/IOExts.hs
+share/hugs/lib/exts/Int.hs
+share/hugs/lib/exts/LazyST.hs
+share/hugs/lib/exts/Memo.hs
+share/hugs/lib/exts/NumExts.hs
+share/hugs/lib/exts/Pretty.lhs
+share/hugs/lib/exts/ST.hs
+share/hugs/lib/exts/SampleVar.lhs
+share/hugs/lib/exts/Semaphore.lhs
+share/hugs/lib/exts/Stable.hs
+share/hugs/lib/exts/Weak.hs
 share/hugs/lib/exts/Word.hs
-share/hugs/demos/prolog/Prolog.hs
-share/hugs/demos/prolog/StackEngine.hs
-share/hugs/demos/prolog/PureEngine.hs
-share/hugs/demos/prolog/Subst.hs
-share/hugs/demos/prolog/Main.hs
-share/hugs/demos/prolog/CombParse.hs
-share/hugs/demos/prolog/AndorraEngine.hs
-share/hugs/demos/prolog/readme
-share/hugs/demos/prolog/stdlib
-share/hugs/demos/AnsiDemo.hs
-share/hugs/demos/Stack.hs
-share/hugs/demos/Say.hs
-share/hugs/demos/Queens.hs
-share/hugs/demos/Minsrand.hs
-share/hugs/demos/Mersenne.hs
-share/hugs/demos/Matrix.hs
-share/hugs/demos/Literate.lhs
-share/hugs/demos/Ldfs.hs
-share/hugs/demos/Lattice.hs
-share/hugs/demos/Gofer.hs
-share/hugs/demos/FastSort.hs
-share/hugs/demos/Expr.hs
-share/hugs/demos/Examples.hs
-share/hugs/demos/EvalRed.hs
-share/hugs/demos/Eliza.hs
-share/hugs/demos/Demos.hs
-share/hugs/demos/CommaInt.lhs
-share/hugs/demos/Calendar.hs
-share/hugs/demos/ArrayEx.hs
-share/hugs/demos/Tree.hs
+share/hugs/lib/hugs/AnsiInteract.hs
+share/hugs/lib/hugs/AnsiScreen.hs
+share/hugs/lib/hugs/CVHAssert.hs
+share/hugs/lib/hugs/GenericPrint.hs
+share/hugs/lib/hugs/HugsDynamic.hs
+share/hugs/lib/hugs/HugsInternals.hs
+share/hugs/lib/hugs/HugsLibs.hs
+share/hugs/lib/hugs/IOExtensions.hs
+share/hugs/lib/hugs/Interact.hs
+share/hugs/lib/hugs/ListUtils.hs
+share/hugs/lib/hugs/Number.hs
+share/hugs/lib/hugs/OldWeak.hs
+share/hugs/lib/hugs/ParseLib.hs
+share/hugs/lib/hugs/Sequence.hs
+share/hugs/lib/hugs/StdLibs.hs
+share/hugs/lib/hugs/Trace.hs
+share/hugs/lib/hugs/Trex.hs
 share/doc/hugs/windows-notes.txt
 share/doc/hugs/Makefile
 share/doc/hugs/server.tex
diff -ruN /usr/ports/lang/hugs/scripts/configure ./scripts/configure
--- /usr/ports/lang/hugs/scripts/configure	Sun Nov 21 11:45:06 1999
+++ ./scripts/configure	Sun Apr 30 02:24:39 2000
@@ -1,3 +1,3 @@
 #!/bin/sh
 cd ${WRKSRC}/unix
-./configure --with-readline
+./configure --with-readline --prefix=${PREFIX}

>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?20000430053700.80169.qmail>