FreeBSD Bugzilla – Attachment 62429 Details for
Bug 93303
New port: graphics/ocaml-gd4o GD library bindings for ocaml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
ocaml-gd4o.shar
ocaml-gd4o.shar (text/plain), 3.88 KB, created by
Michael Winking
on 2006-02-13 18:20:05 UTC
(
hide
)
Description:
ocaml-gd4o.shar
Filename:
MIME Type:
Creator:
Michael Winking
Created:
2006-02-13 18:20:05 UTC
Size:
3.88 KB
patch
obsolete
># 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: ># ># ocaml-gd4o ># ocaml-gd4o/Makefile ># ocaml-gd4o/pkg-descr ># ocaml-gd4o/distinfo ># ocaml-gd4o/files ># ocaml-gd4o/files/patch-Makefile ># ocaml-gd4o/pkg-deinstall ># ocaml-gd4o/pkg-install ># >echo c - ocaml-gd4o >mkdir -p ocaml-gd4o > /dev/null 2>&1 >echo x - ocaml-gd4o/Makefile >sed 's/^X//' >ocaml-gd4o/Makefile << 'END-of-ocaml-gd4o/Makefile' >X# ex:ts=8 >X# New ports collection makefile for: ocaml-gd4o >X# Date created: Feb 13, 2006 >X# Whom: Michael Winking <mwfp@foldl.net> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= gd4o >XPORTVERSION= 1.0a5 >XCATEGORIES= graphics >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= gd4o >XPKGNAMEPREFIX= ocaml- >XDISTNAME= ${PORTNAME}-${PORTVERSION} >X >XMAINTAINER= mwfp@foldl.net >XCOMMENT= Objective Caml interface to the GD graphics library >X >XLIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \ >X jpeg.9:${PORTSDIR}/graphics/jpeg \ >X freetype.9:${PORTSDIR}/print/freetype2 >X >XMAKE_ENV= \ >X LIBDIRS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ >X INCDIRS="-I${LOCALBASE}/include -I${X11BASE}/include" >XUSE_GMAKE= yes >XALL_TARGET= all opt >X >XDOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} >X >X.if !defined(NOPORTDOCS) >XALL_TARGET+= docs >XPORTDOCS= BUGS CHANGES INSTALL LICENSE README README.ocamlgd TODO doc >X.endif >X >Xpost-install: >X.if !defined(NOPORTDOCS) >X @${ECHO_MSG} -n ">> Installing documentation..." >X @${MKDIR} ${DOCSDIR} >X @cd ${WRKSRC} && ${FIND} ${PORTDOCS} \ >X | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 >X @${ECHO_MSG} " [DONE]" >X.endif >X @${FIND} ${PREFIX}/lib/ocaml/site-lib/gd -type f | \ >X ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} >X# @${ECHO_CMD} "@dirrm lib/ocaml/site-lib/gd" >> ${TMPPLIST} >X >Xpre-deinstall: >X @ocamlfind remove gd >X.include <bsd.port.mk> >END-of-ocaml-gd4o/Makefile >echo x - ocaml-gd4o/pkg-descr >sed 's/^X//' >ocaml-gd4o/pkg-descr << 'END-of-ocaml-gd4o/pkg-descr' >XGD4O is an OCaml interface to the GD graphics library. >XIt is based on OCamlGD 0.7, developed by Shawn Wagner. >X >XWWW: http://gushee.net/matt/software/gd4o/ >END-of-ocaml-gd4o/pkg-descr >echo x - ocaml-gd4o/distinfo >sed 's/^X//' >ocaml-gd4o/distinfo << 'END-of-ocaml-gd4o/distinfo' >XMD5 (gd4o-1.0a5.tar.gz) = b5aeb9c246b5e072803eb9b3112350a0 >XSHA256 (gd4o-1.0a5.tar.gz) = fa10b60a785e6734b6ac1b5a762f496b925502cfc848381cae7dfb75fe547eed >XSIZE (gd4o-1.0a5.tar.gz) = 885735 >END-of-ocaml-gd4o/distinfo >echo c - ocaml-gd4o/files >mkdir -p ocaml-gd4o/files > /dev/null 2>&1 >echo x - ocaml-gd4o/files/patch-Makefile >sed 's/^X//' >ocaml-gd4o/files/patch-Makefile << 'END-of-ocaml-gd4o/files/patch-Makefile' >X--- Makefile.orig Mon Feb 13 17:41:13 2006 >X+++ Makefile Mon Feb 13 17:41:39 2006 >X@@ -18,8 +18,8 @@ >X JPEG_LIB = -ljpeg >X FT2_LIB = -lfreetype >X CC=gcc >X-CINCLUDES=-I$(OCAMLLIB) -I/usr/include >X-LIBS=-lgd -lpng -lz $(JPEG_LIB) $(FT2_LIB) >X+CINCLUDES=$(INCDIRS) -I$(OCAMLLIB) -I/usr/include >X+LIBS=$(LIBDIRS) -lgd -lpng -lz $(JPEG_LIB) $(FT2_LIB) >X ifdef JPEG_LIB >X JPEG_FLAG = -DHAVE_JPEG >X endif >END-of-ocaml-gd4o/files/patch-Makefile >echo x - ocaml-gd4o/pkg-deinstall >sed 's/^X//' >ocaml-gd4o/pkg-deinstall << 'END-of-ocaml-gd4o/pkg-deinstall' >X#!/bin/sh >X >Xif [ "$2" != "POST-DEINSTALL" ]; then >X exit 0 >Xfi >X >Xsed -i -e "s,${PKG_PREFIX}/lib/ocaml/site-lib/gd,,g" ${PKG_PREFIX}/lib/ocaml/ld.conf >Xexit 0 >END-of-ocaml-gd4o/pkg-deinstall >echo x - ocaml-gd4o/pkg-install >sed 's/^X//' >ocaml-gd4o/pkg-install << 'END-of-ocaml-gd4o/pkg-install' >X#!/bin/sh >X >Xif [ "$2" != "POST-INSTALL" ]; then >X exit 0 >Xfi >X >Xsed -i -e "s,${PKG_PREFIX}/lib/ocaml/ld/site-lib/gd,,g" ${PKG_PREFIX}/lib/ocaml/ld.conf >Xecho "${PKG_PREFIX}/lib/ocaml/site-lib/gd" >> ${PKG_PREFIX}/lib/ocaml/ld.conf >Xexit 0 >END-of-ocaml-gd4o/pkg-install >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 93303
: 62429