aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ocamlweb
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2005-02-11 10:18:45 +0800
committerjkoshy <jkoshy@FreeBSD.org>2005-02-11 10:18:45 +0800
commita6ab09d92cb7b99d11856d72a6ff50da7c58ef75 (patch)
tree400742f07e93f1cf76c5c63be443ea1ef10a105b /devel/ocamlweb
parentdf0ddad7adaf51d229d826893cef36a348f9ff4e (diff)
downloadfreebsd-ports-gnome-a6ab09d92cb7b99d11856d72a6ff50da7c58ef75.tar.gz
freebsd-ports-gnome-a6ab09d92cb7b99d11856d72a6ff50da7c58ef75.tar.zst
freebsd-ports-gnome-a6ab09d92cb7b99d11856d72a6ff50da7c58ef75.zip
teTeX no longer uses the texmf/tex/latex/misc directory.
Submitted by: hrs Noticed by: pointyhat's scripts
Diffstat (limited to 'devel/ocamlweb')
-rw-r--r--devel/ocamlweb/Makefile5
-rw-r--r--devel/ocamlweb/files/patch-Makefile.in11
-rw-r--r--devel/ocamlweb/pkg-plist7
3 files changed, 15 insertions, 8 deletions
diff --git a/devel/ocamlweb/Makefile b/devel/ocamlweb/Makefile
index fcf7be00460d..e2e0c8e1a43c 100644
--- a/devel/ocamlweb/Makefile
+++ b/devel/ocamlweb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ocamlweb
PORTVERSION= 1.34
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.lri.fr/~filliatr/ftp/ocamlweb/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES}
@@ -16,7 +17,7 @@ MAINTAINER= jkoshy@FreeBSD.ORG
COMMENT= A literate programming tool for Objective Caml
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
GNU_CONFIGURE= yes
@@ -29,7 +30,7 @@ MAN1= ocamlweb.1
post-install:
.if !defined{NOPORTDOCS}
- @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ @${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${DOCFILES} ${DOCSDIR}
.endif
diff --git a/devel/ocamlweb/files/patch-Makefile.in b/devel/ocamlweb/files/patch-Makefile.in
index 39018a8cc97e..b7159e5c0bcf 100644
--- a/devel/ocamlweb/files/patch-Makefile.in
+++ b/devel/ocamlweb/files/patch-Makefile.in
@@ -1,6 +1,11 @@
---- Makefile.in-- Thu Mar 28 15:21:12 2002
-+++ Makefile.in Thu Mar 28 15:21:20 2002
-@@ -13,7 +13,7 @@
+--- Makefile.in.orig Mon Jul 7 17:23:47 2003
++++ Makefile.in Fri Feb 11 03:23:16 2005
+@@ -9,11 +9,11 @@
+
+ # where to install the style file
+ BASETEXDIR = $(prefix)/share/texmf
+-TEXDIR = $(BASETEXDIR)/tex/latex/misc
++TEXDIR = $(BASETEXDIR)/tex/latex/ocamlweb
# command to update TeX' kpathsea database
MKTEXLSR = @MKTEXLSR@
diff --git a/devel/ocamlweb/pkg-plist b/devel/ocamlweb/pkg-plist
index f9dae1a5e628..dede68354caa 100644
--- a/devel/ocamlweb/pkg-plist
+++ b/devel/ocamlweb/pkg-plist
@@ -1,6 +1,7 @@
bin/ocamlweb
-share/texmf/tex/latex/misc/ocamlweb.sty
-%%PORTDOCS%%share/doc/ocamlweb/ocamlweb-%%PORTVERSION%%-man.ps.gz
-%%PORTDOCS%%@dirrm share/doc/ocamlweb
+share/texmf/tex/latex/ocamlweb/ocamlweb.sty
+@dirrm share/texmf/tex/latex/ocamlweb
+%%PORTDOCS%%%%DOCSDIR%%/ocamlweb-%%PORTVERSION%%-man.ps.gz
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@exec %D/bin/mktexlsr
@unexec %D/bin/mktexlsr