mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Update to 0.5.3 and unbreak
- Fix packaging PR: ports/71285 Submitted by: Stefan Walter
This commit is contained in:
parent
812bdd2597
commit
007e5933b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120656
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= yaxi
|
||||
PORTVERSION= 0.5.2
|
||||
PORTVERSION= 0.5.3
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://mattam.ath.cx/progs/yaxi/releases/
|
||||
PKGNAMEPREFIX= ocaml-
|
||||
@ -35,11 +35,12 @@ PKGDEINSTALL= ${PKGINSTALL}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
||||
.endif
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/lib/ocaml/site-lib
|
||||
|
||||
post-install:
|
||||
@${SETENV} PKG_PREFIX=${PREFIX} \
|
||||
${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
|
||||
@${FIND} ${PREFIX}/lib/ocaml/site-lib/${PORTNAME} -type f | \
|
||||
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/${PORTNAME}" >> ${TMPPLIST}
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (yaxi-0.5.2.tar.gz) = ea17a507207057e3489cf987a9a80b10
|
||||
SIZE (yaxi-0.5.2.tar.gz) = 69067
|
||||
MD5 (yaxi-0.5.3.tar.gz) = e22f743b9b67605a53ef8f9b587c3bd5
|
||||
SIZE (yaxi-0.5.3.tar.gz) = 66430
|
||||
|
@ -1,19 +1,22 @@
|
||||
--- Makefile.orig Thu Mar 18 09:56:55 2004
|
||||
+++ Makefile Thu Mar 18 09:57:50 2004
|
||||
@@ -3,7 +3,7 @@
|
||||
--- Makefile.orig Sun May 2 13:39:22 2004
|
||||
+++ Makefile Thu Sep 2 22:01:14 2004
|
||||
@@ -3,7 +3,8 @@
|
||||
|
||||
export VERSION
|
||||
# Where the binaries will go (yaxsltproc)
|
||||
-BIN_DESTDIR = ${DESTDIR}/usr/bin/
|
||||
+BIN_DESTDIR = ${PREFIX}/bin
|
||||
+PKG_DESTDIR = ${PREFIX}/lib/ocaml/site-lib
|
||||
|
||||
DIST_FILES = Makefile OCamlMakefile AUTHORS README COPYING ChangeLog META.in TODO \
|
||||
examples/Makefile examples/*.ml examples/*.x*l
|
||||
@@ -41,7 +41,7 @@
|
||||
@@ -40,8 +41,8 @@
|
||||
rm -f META.tmp
|
||||
|
||||
install: all META
|
||||
ocamlfind install yaxi META src/*.mli src/*.cm* src/*.a
|
||||
- ocamlfind install yaxi META src/*.mli src/*.cm* src/*.a
|
||||
- install -D src/yaxsltproc ${BIN_DESTDIR}/yaxsltproc
|
||||
+ ocamlfind install -destdir ${PKG_DESTDIR} yaxi META src/*.mli src/*.cm* src/*.a
|
||||
+ ${BSD_INSTALL_PROGRAM} src/yaxsltproc ${BIN_DESTDIR}/yaxsltproc
|
||||
|
||||
dist: clean
|
||||
|
11
textproc/ocaml-yaxi/files/patch-src_Makefile
Normal file
11
textproc/ocaml-yaxi/files/patch-src_Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/Makefile.old Thu Sep 2 21:48:00 2004
|
||||
+++ src/Makefile Thu Sep 2 21:48:10 2004
|
||||
@@ -44,7 +44,7 @@
|
||||
ocamlfind ocamlmktop -package netstring,ulex,camlp4 -syntax camlp4o -I +camlp4 -linkpkg -o yaxi.top yaxi.cma
|
||||
|
||||
yaxi.ml: yaxi.ml.in
|
||||
- sed -e s/COMPDATE/"$(shell date -R)"/ yaxi.ml.in > yaxi.ml.in.tmp
|
||||
+ sed -e s/COMPDATE/"$(shell date)"/ yaxi.ml.in > yaxi.ml.in.tmp
|
||||
sed -e s/VERSION/${VERSION}/ yaxi.ml.in.tmp > yaxi.ml
|
||||
@rm -f yaxi.ml.in.tmp
|
||||
|
Loading…
Reference in New Issue
Block a user