aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-11-30 07:56:21 +0800
committerantoine <antoine@FreeBSD.org>2014-11-30 07:56:21 +0800
commit65d67a5e250b8eaae5a1a0e51be1ed9db9a9f9db (patch)
treeb9b200deba5ee13f85f9929e27d33e5ed944d2bb /textproc
parentde947b323d57ccd68458903328b036a21cd7f83f (diff)
downloadfreebsd-ports-gnome-65d67a5e250b8eaae5a1a0e51be1ed9db9a9f9db.tar.gz
freebsd-ports-gnome-65d67a5e250b8eaae5a1a0e51be1ed9db9a9f9db.tar.zst
freebsd-ports-gnome-65d67a5e250b8eaae5a1a0e51be1ed9db9a9f9db.zip
Cleanup plist of ocaml ports
With hat: portmgr
Diffstat (limited to 'textproc')
-rw-r--r--textproc/bibtex2html/Makefile11
-rw-r--r--textproc/ocaml-pxp/Makefile2
2 files changed, 7 insertions, 6 deletions
diff --git a/textproc/bibtex2html/Makefile b/textproc/bibtex2html/Makefile
index 76dba24445f7..0a48a0404c91 100644
--- a/textproc/bibtex2html/Makefile
+++ b/textproc/bibtex2html/Makefile
@@ -3,6 +3,7 @@
PORTNAME= bibtex2html
PORTVERSION= 1.98
+PORTREVISION= 1
CATEGORIES= textproc print
MASTER_SITES= http://www.lri.fr/~filliatr/ftp/bibtex2html/
@@ -11,6 +12,7 @@ COMMENT= Tools for searching BibTeX and translating from BibTeX to HTML
BUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml
+USES= perl5
GNU_CONFIGURE= yes
OPTIONS_DEFINE= PDFDOCS
@@ -21,12 +23,13 @@ PDFDOCS_USE= TEX=latex:build
PDFDOCS_BUILD_DEPENDS= hevea:${PORTSDIR}/textproc/hevea
PDFDOCS_INSTALL_TARGET= install install-doc
-PORTDOCS= *
-
PLIST_FILES= bin/aux2bib bin/bib2bib bin/bibtex2html \
man/man1/bibtex2html.1.gz man/man1/bib2bib.1.gz man/man1/aux2bib.1.gz
-post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPDFDOCS}
+PORTDOCS= *
+.endif
.include <bsd.port.mk>
diff --git a/textproc/ocaml-pxp/Makefile b/textproc/ocaml-pxp/Makefile
index 285d644c0183..09d71157c94d 100644
--- a/textproc/ocaml-pxp/Makefile
+++ b/textproc/ocaml-pxp/Makefile
@@ -38,7 +38,5 @@ post-extract:
post-install:
@${FIND} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/pxp* -type f | \
${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}
- @${FIND} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/ -type d -name 'pxp*' | ${SORT} -r | \
- ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>