aboutsummaryrefslogtreecommitdiff
path: root/textproc/halibut
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-03-26 23:27:31 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-03-26 23:27:31 +0000
commit0247b994bca63afd58e20cf746a803afb6adc513 (patch)
tree4c4589a33745bcefec792d689a377ce5313acb6c /textproc/halibut
parentaead23eee19c6faef1fb7025eaa59ff199a6fc0d (diff)
downloadports-0247b994bca63afd58e20cf746a803afb6adc513.tar.gz
ports-0247b994bca63afd58e20cf746a803afb6adc513.zip
New port: textproc/halibut: Free document preparation system
Notes
Notes: svn path=/head/; revision=569278
Diffstat (limited to 'textproc/halibut')
-rw-r--r--textproc/halibut/Makefile19
-rw-r--r--textproc/halibut/distinfo3
-rw-r--r--textproc/halibut/files/patch-Makefile13
-rw-r--r--textproc/halibut/files/patch-doc_Makefile11
-rw-r--r--textproc/halibut/pkg-descr5
5 files changed, 51 insertions, 0 deletions
diff --git a/textproc/halibut/Makefile b/textproc/halibut/Makefile
new file mode 100644
index 000000000000..f027208e8105
--- /dev/null
+++ b/textproc/halibut/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= halibut
+DISTVERSION= 1.2
+CATEGORIES= textproc
+MASTER_SITES= https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-${DISTVERSION}/
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Free document preparation system
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENCE
+
+USES= gmake perl5
+
+PLIST_FILES= bin/halibut \
+ man/man1/halibut.1.gz
+
+.include <bsd.port.mk>
diff --git a/textproc/halibut/distinfo b/textproc/halibut/distinfo
new file mode 100644
index 000000000000..19b21663cef2
--- /dev/null
+++ b/textproc/halibut/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1616800039
+SHA256 (halibut-1.2.tar.gz) = 1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
+SIZE (halibut-1.2.tar.gz) = 991975
diff --git a/textproc/halibut/files/patch-Makefile b/textproc/halibut/files/patch-Makefile
new file mode 100644
index 000000000000..03f8a043d0db
--- /dev/null
+++ b/textproc/halibut/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig 2017-05-15 07:49:44 UTC
++++ Makefile
+@@ -120,8 +120,8 @@ clean::
+
+ install:
+ mkdir -p $(prefix) $(bindir)
+- $(INSTALL) -m 755 halibut $(bindir)/halibut
+- $(MAKE) -C ../doc install prefix="$(prefix)" INSTALL="$(INSTALL)"
++ $(INSTALL) -m 755 halibut $(DESTDIR)$(bindir)/halibut
++ $(MAKE) -C ../doc install prefix="$(DESTDIR)$(prefix)" INSTALL="$(INSTALL)"
+
+ FORCE: # phony target to force version.o to be rebuilt every time
+
diff --git a/textproc/halibut/files/patch-doc_Makefile b/textproc/halibut/files/patch-doc_Makefile
new file mode 100644
index 000000000000..0d48e9582c33
--- /dev/null
+++ b/textproc/halibut/files/patch-doc_Makefile
@@ -0,0 +1,11 @@
+--- doc/Makefile.orig 2021-03-26 23:12:34 UTC
++++ doc/Makefile
+@@ -16,7 +16,7 @@ index.html: $(INPUTS) $(HALIBUT)
+ halibut.1: manpage.but
+ $(HALIBUT) --man=halibut.1 manpage.but
+
+-install:
++install: halibut.1
+ mkdir -p $(man1dir)
+ $(INSTALL) -m 644 halibut.1 $(man1dir)/halibut.1
+
diff --git a/textproc/halibut/pkg-descr b/textproc/halibut/pkg-descr
new file mode 100644
index 000000000000..9249b33142e0
--- /dev/null
+++ b/textproc/halibut/pkg-descr
@@ -0,0 +1,5 @@
+Halibut is a documentation production system, with elements similar to TeX,
+debiandoc-sgml, TeXinfo, and others. It is primarily targeted at people
+producing software manuals.
+
+WWW: https://www.chiark.greenend.org.uk/~sgtatham/halibut/