ports/101219: [NEW PORT] devel/ocaml-xstrp4: An OCaml extension to expands brace expansions
Stanislav Sedov
ssedov at mbsd.msk.ru
Tue Aug 1 19:50:30 UTC 2006
>Number: 101219
>Category: ports
>Synopsis: [NEW PORT] devel/ocaml-xstrp4: An OCaml extension to expands brace expansions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 01 19:50:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Stanislav Sedov
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
This is a camlp4 extension that expands brace expansions like a shell
does. See sample.ml for examples.
Author: Gerd Stolpmann
WWW: http://www.ocaml-programming.de/packages/
Note: this port depends on ports/101100
>How-To-Repeat:
>Fix:
--- ocaml-xstrp4-1.6.shar begins here ---
# 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-xstrp4
# ocaml-xstrp4/pkg-descr
# ocaml-xstrp4/Makefile
# ocaml-xstrp4/distinfo
#
echo c - ocaml-xstrp4
mkdir -p ocaml-xstrp4 > /dev/null 2>&1
echo x - ocaml-xstrp4/pkg-descr
sed 's/^X//' >ocaml-xstrp4/pkg-descr << 'END-of-ocaml-xstrp4/pkg-descr'
XThis is a camlp4 extension that expands brace expansions like a shell
Xdoes. See sample.ml for examples.
X
XAuthor: Gerd Stolpmann
XWWW: http://www.ocaml-programming.de/packages/
END-of-ocaml-xstrp4/pkg-descr
echo x - ocaml-xstrp4/Makefile
sed 's/^X//' >ocaml-xstrp4/Makefile << 'END-of-ocaml-xstrp4/Makefile'
X# New ports collection makefile for: ocaml-xstrp4
X# Date created: 2006-08-01
X# Whom: Stanislav Sedov <ssedov at mbsd.msk.ru>
X#
X# $MBSDlabs$
X# $FreeBSD$
X#
X
XPORTNAME= xstrp4
XPORTVERSION= 1.6
XCATEGORIES= devel
XMASTER_SITES= http://www.ocaml-programming.de/packages/
XPKGNAMEPREFIX= ocaml-
X
XMAINTAINER= ssedov at mbsd.msk.ru
XCOMMENT= An OCaml extension to expands brace expansions
X
XUSE_GMAKE= yes
XUSE_OCAML= yes
XUSE_OCAML_FINDLIB=yes
X
XMASTERPORT= ${PORTSDIR}/devel/ocaml-camlidl
XEXAMPLESDIR= ${PREFIX}/share/ocaml/examples/${PORTNAME}
X
X.include <bsd.port.pre.mk>
X.include "${MASTERPORT}/bsd.ocaml.mk"
X
Xpost-extract:
X# For nonstandard prefixes
X.if !exists(${OCAMLFIND_DESTDIR})
X ${MKDIR} ${OCAMLFIND_DESTDIR}
X.endif
X.if !exists(${OCAMLFIND_LDCONF})
X ${TOUCH} ${OCAMLFIND_LDCONF}
X.endif
X
Xpost-install:
X @${MKDIR} ${EXAMPLESDIR}
X ${INSTALL_DATA} ${WRKSRC}/sample.* ${EXAMPLESDIR}
X
X @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
X ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
X @${FIND} ${EXAMPLESDIR} -type f | \
X ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
X @${ECHO_CMD} "@dirrm share/ocaml/examples/${PORTNAME}" >> ${TMPPLIST}
X @${ECHO_CMD} "@unexec rmdir %D/share/ocaml/examples 2>/dev/null ||true"\
X >> ${TMPPLIST}
X
X.include <bsd.port.post.mk>
END-of-ocaml-xstrp4/Makefile
echo x - ocaml-xstrp4/distinfo
sed 's/^X//' >ocaml-xstrp4/distinfo << 'END-of-ocaml-xstrp4/distinfo'
XMD5 (xstrp4-1.6.tar.gz) = 5322d8878f8c42e54c1a4fa27ee0a8c0
XSHA256 (xstrp4-1.6.tar.gz) = 09ffb1d0c309fec24207f677bcb44ad301da34d4a330d9ec8265953b03713f25
XSIZE (xstrp4-1.6.tar.gz) = 6460
END-of-ocaml-xstrp4/distinfo
exit
--- ocaml-xstrp4-1.6.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list