aboutsummaryrefslogtreecommitdiff
path: root/devel/ocamlweb
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2005-02-11 02:18:45 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2005-02-11 02:18:45 +0000
commit046a2170dcdea2be57cfc0d19071b295d386f992 (patch)
treedb98482edff7f8754c0b0c810ceb8542aea8cc27 /devel/ocamlweb
parentfa13219d62cd029235412796752cf9cd04f97d5e (diff)
downloadports-046a2170dcdea2be57cfc0d19071b295d386f992.tar.gz
ports-046a2170dcdea2be57cfc0d19071b295d386f992.zip
Notes
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