Date: Tue, 22 Jan 2002 21:52:23 -0800 (PST) From: Byunghyun Oh <octaphial@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/34193: New port: hgl (HGL Graphics Library) Message-ID: <200201230552.g0N5qNW41802@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 34193 >Category: ports >Synopsis: New port: hgl (HGL Graphics Library) >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: Tue Jan 22 22:00:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Byunghyun Oh >Release: FreeBSD 4.5-RC1 >Organization: none >Environment: FreeBSD okta 4.5-RC1 FreeBSD 4.5-RC1 #0: Mon Jan 21 18:30:27 KST 2002 octaphial@okta:/usr/src/sys/compile/OCTA i386 >Description: HGL is graphics library for Hugs98, an implementation of Haskell 98. >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: # # hgl # hgl/Makefile # hgl/pkg-comment # hgl/pkg-descr # hgl/pkg-plist # hgl/distinfo # hgl/files # hgl/files/patch-aa # hgl/scripts # hgl/scripts/hugs-hgl # echo c - hgl mkdir -p hgl > /dev/null 2>&1 echo x - hgl/Makefile sed 's/^X//' >hgl/Makefile << 'END-of-hgl/Makefile' X# New ports collection makefile for: hgl X# Date created: 22 January 2002 X# Whom: octaphial X# X# $FreeBSD$ X# X XPORTNAME= hgl XPORTVERSION= 2.0.4 XCATEGORIES= graphics XMASTER_SITES= http://haskell.org/graphics/downloads/ XDISTNAME= graphics-${PORTVERSION}.src X XMAINTAINER= octaphial@yahoo.com X XRUN_DEPENDS= hugs:${PORTSDIR}/lang/hugs X XWRKSRC= ${WRKDIR}/graphics-${PORTVERSION} XUSE_GMAKE= yes X XBUILD_WRKSRC= ${WRKSRC}/lib/x11 XMAKE_ENV= system=FreeBSD \ X hugs_install=${PREFIX}/share/hugs XALL_TARGET= all X Xdo-install: X ${MKDIR} ${PREFIX}/share/hugs/lib/x11 X ${MKDIR} ${PREFIX}/share/hugs/demos/hgl X ${INSTALL_SCRIPT} ${PKGDIR}/scripts/hugs-hgl ${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/lib/x11/*.hs ${PREFIX}/share/hugs/lib/x11 X ${INSTALL_PROGRAM} ${WRKSRC}/lib/x11/*.o ${PREFIX}/share/hugs/lib/x11 X ${INSTALL_PROGRAM} ${WRKSRC}/lib/x11/*.so ${PREFIX}/share/hugs/lib/x11 X ${INSTALL_DATA} ${WRKSRC}/demos/* ${PREFIX}/share/hugs/demos/hgl X ${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/hugs/demos/hgl X Xpost-install: X ${MKDIR} ${PREFIX}/share/doc/hgl X ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/hgl X ${INSTALL_DATA} ${WRKSRC}/License ${PREFIX}/share/doc/hgl X ${INSTALL_DATA} ${WRKSRC}/Readme ${PREFIX}/share/doc/hgl X ${INSTALL_DATA} ${WRKSRC}/Version ${PREFIX}/share/doc/hgl X ${INSTALL_DATA} ${WRKSRC}/Version-2.0.4 ${PREFIX}/share/doc/hgl X X.include <bsd.port.mk> END-of-hgl/Makefile echo x - hgl/pkg-comment sed 's/^X//' >hgl/pkg-comment << 'END-of-hgl/pkg-comment' XGraphics library for Hugs98, an implementation of Haskell 98 END-of-hgl/pkg-comment echo x - hgl/pkg-descr sed 's/^X//' >hgl/pkg-descr << 'END-of-hgl/pkg-descr' XFrom homepage of HGL: X XThe HGL gives the programmer access to the most interesting parts of Xthe Win32 and X11 library without exposing the programmer to the pain Xand anguish usually associated with using these interfaces. The library Xlibrary is distributed as open source and is suitable for use in Xteaching and in applications. X X... X XWWW: http://haskell.org/graphics/ X X X - Byunghyun Oh X octaphial@yahoo.com END-of-hgl/pkg-descr echo x - hgl/pkg-plist sed 's/^X//' >hgl/pkg-plist << 'END-of-hgl/pkg-plist' Xbin/hugs-hgl Xshare/doc/hgl/License Xshare/doc/hgl/Readme Xshare/doc/hgl/Version Xshare/doc/hgl/Version-2.0.4 Xshare/doc/hgl/Graphics.dvi Xshare/doc/hgl/Graphics.tex Xshare/doc/hgl/appendix.tex Xshare/doc/hgl/graphics.bib Xshare/doc/hgl/oldappendix.tex Xshare/hugs/lib/x11/GraphicsCore.hs Xshare/hugs/lib/x11/GraphicsDC.hs Xshare/hugs/lib/x11/GraphicsEvent.hs Xshare/hugs/lib/x11/GraphicsEvents.hs Xshare/hugs/lib/x11/GraphicsFlag.hs Xshare/hugs/lib/x11/GraphicsFont.hs Xshare/hugs/lib/x11/GraphicsKey.hs Xshare/hugs/lib/x11/GraphicsPicture.hs Xshare/hugs/lib/x11/GraphicsRegion.hs Xshare/hugs/lib/x11/GraphicsTimer.hs Xshare/hugs/lib/x11/GraphicsUtils.hs Xshare/hugs/lib/x11/GraphicsWindow.hs Xshare/hugs/lib/x11/GraphicsWindows.hs Xshare/hugs/lib/x11/Graphics_Utilities.hs Xshare/hugs/lib/x11/SOEGraphics.hs Xshare/hugs/lib/x11/X.hs Xshare/hugs/lib/x11/X.o Xshare/hugs/lib/x11/X.so Xshare/hugs/lib/x11/Xlib.hs Xshare/hugs/lib/x11/Xlib.o Xshare/hugs/lib/x11/Xlib.so Xshare/hugs/lib/x11/Xlib_StdDIS.hs Xshare/hugs/lib/x11/Xlib_StdDIS.so X@dirrm share/doc/hgl X@dirrm share/hugs/lib/x11 END-of-hgl/pkg-plist echo x - hgl/distinfo sed 's/^X//' >hgl/distinfo << 'END-of-hgl/distinfo' XMD5 (graphics-2.0.4.src.tar.gz) = 60da7bc8f3a2414778fe1e693ba54ab4 END-of-hgl/distinfo echo c - hgl/files mkdir -p hgl/files > /dev/null 2>&1 echo x - hgl/files/patch-aa sed 's/^X//' >hgl/files/patch-aa << 'END-of-hgl/files/patch-aa' X--- lib/x11/X.c.orig Wed Sep 5 16:26:18 2001 X+++ lib/x11/X.c Tue Jan 22 11:18:50 2002 X@@ -5526,8 +5526,8 @@ X #ifdef __cplusplus X extern "C" { X #endif X-DLLEXPORT(void) initModule(HugsAPI3 *); X-DLLEXPORT(void) initModule(HugsAPI3 *hugsAPI) { X+DLLEXPORT(void) _initModule(HugsAPI3 *); X+DLLEXPORT(void) _initModule(HugsAPI3 *hugsAPI) { X hugs = hugsAPI; X hugs->registerPrims(&prims); X } Xdiff -Naur graphics-2.0.4.orig/lib/x11/Xlib.c graphics-2.0.4/lib/x11/Xlib.c X--- lib/x11/Xlib.c.orig Wed Sep 5 16:26:18 2001 X+++ lib/x11/Xlib.c Tue Jan 22 11:19:05 2002 X@@ -4349,8 +4349,8 @@ X #ifdef __cplusplus X extern "C" { X #endif X-DLLEXPORT(void) initModule(HugsAPI3 *); X-DLLEXPORT(void) initModule(HugsAPI3 *hugsAPI) { X+DLLEXPORT(void) _initModule(HugsAPI3 *); X+DLLEXPORT(void) _initModule(HugsAPI3 *hugsAPI) { X hugs = hugsAPI; X hugs->registerPrims(&prims); X } Xdiff -Naur graphics-2.0.4.orig/lib/x11/Xlib_StdDIS.c graphics-2.0.4/lib/x11/Xlib_StdDIS.c X--- lib/x11/Xlib_StdDIS.c.orig Wed Sep 5 16:26:18 2001 X+++ lib/x11/Xlib_StdDIS.c Tue Jan 22 11:17:48 2002 X@@ -65,8 +65,8 @@ X #ifdef __cplusplus X extern "C" { X #endif X-DLLEXPORT(void) initModule(HugsAPI3 *); X-DLLEXPORT(void) initModule(HugsAPI3 *hugsAPI) { X+DLLEXPORT(void) _initModule(HugsAPI3 *); X+DLLEXPORT(void) _initModule(HugsAPI3 *hugsAPI) { X hugs = hugsAPI; X hugs->registerPrims(&prims); X } END-of-hgl/files/patch-aa echo c - hgl/scripts mkdir -p hgl/scripts > /dev/null 2>&1 echo x - hgl/scripts/hugs-hgl sed 's/^X//' >hgl/scripts/hugs-hgl << 'END-of-hgl/scripts/hugs-hgl' X#!/bin/sh X Xhugs -P{Hugs}/lib/x11: $@ END-of-hgl/scripts/hugs-hgl 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?200201230552.g0N5qNW41802>