mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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/ PR: ports/101219 Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
This commit is contained in:
parent
5a28389014
commit
7f09660d23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169687
@ -706,6 +706,7 @@
|
||||
SUBDIR += ocaml-sdl
|
||||
SUBDIR += ocaml-sem
|
||||
SUBDIR += ocaml-ulex
|
||||
SUBDIR += ocaml-xstrp4
|
||||
SUBDIR += ocamlweb
|
||||
SUBDIR += ode
|
||||
SUBDIR += ode-devel
|
||||
|
49
devel/ocaml-xstrp4/Makefile
Normal file
49
devel/ocaml-xstrp4/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: ocaml-xstrp4
|
||||
# Date created: 2006-08-01
|
||||
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
||||
#
|
||||
# $MBSDlabs$
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xstrp4
|
||||
PORTVERSION= 1.6
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.ocaml-programming.de/packages/
|
||||
PKGNAMEPREFIX= ocaml-
|
||||
|
||||
MAINTAINER= ssedov@mbsd.msk.ru
|
||||
COMMENT= An OCaml extension to expands brace expansions
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_OCAML= yes
|
||||
USE_OCAML_FINDLIB=yes
|
||||
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk"
|
||||
|
||||
post-extract:
|
||||
# For nonstandard prefixes
|
||||
.if !exists(${OCAMLFIND_DESTDIR})
|
||||
${MKDIR} ${OCAMLFIND_DESTDIR}
|
||||
.endif
|
||||
.if !exists(${OCAMLFIND_LDCONF})
|
||||
${TOUCH} ${OCAMLFIND_LDCONF}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample.* ${EXAMPLESDIR}
|
||||
|
||||
@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
|
||||
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
|
||||
@${FIND} ${EXAMPLESDIR} -type f | \
|
||||
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
|
||||
|
||||
@${ECHO_CMD} "@dirrm share/examples/ocaml/${PORTNAME}" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec rmdir %D/share/examples/ocaml 2>/dev/null ||true"\
|
||||
>> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
devel/ocaml-xstrp4/distinfo
Normal file
3
devel/ocaml-xstrp4/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (xstrp4-1.6.tar.gz) = 5322d8878f8c42e54c1a4fa27ee0a8c0
|
||||
SHA256 (xstrp4-1.6.tar.gz) = 09ffb1d0c309fec24207f677bcb44ad301da34d4a330d9ec8265953b03713f25
|
||||
SIZE (xstrp4-1.6.tar.gz) = 6460
|
5
devel/ocaml-xstrp4/pkg-descr
Normal file
5
devel/ocaml-xstrp4/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
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/
|
Loading…
Reference in New Issue
Block a user