diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-23 21:46:04 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-23 21:46:04 +0000 |
commit | ba499535bfa8d6f52738a826d21375506ad2115d (patch) | |
tree | 4eb8beb47befb7ce7ddf1f89c70099aba51d53c4 | |
parent | 590f49184da28584f90d0b7e2c83d97121aa9900 (diff) | |
download | mandoc-ba499535bfa8d6f52738a826d21375506ad2115d.tar.gz |
Added FreeBSD port.
-rw-r--r-- | Makefile | 21 | ||||
-rw-r--r-- | index.sgml | 24 |
2 files changed, 40 insertions, 5 deletions
@@ -45,6 +45,7 @@ HTMLS = index.html STATICS = style.css external.png TARGZS = mdocml-$(VERSION).tar.gz \ mdocml-oport-$(VERSION).tar.gz \ + mdocml-fport-$(VERSION).tar.gz \ mdocml-nport-$(VERSION).tar.gz MANS = mandoc.1 mdoc.3 mdoc.7 manuals.7 BINS = mandoc @@ -64,7 +65,9 @@ cleanlint: dist: mdocml-$(VERSION).tar.gz -port: mdocml-oport-$(VERSION).tar.gz mdocml-nport-$(VERSION).tar.gz +port: mdocml-oport-$(VERSION).tar.gz \ + mdocml-fport-$(VERSION).tar.gz \ + mdocml-nport-$(VERSION).tar.gz www: $(HTMLS) $(TARGZS) @@ -76,6 +79,8 @@ installwww: www install -m 0444 mdocml-oport-$(VERSION).tar.gz $(PREFIX)/ports-openbsd/mdocml.tar.gz install -m 0444 mdocml-nport-$(VERSION).tar.gz $(PREFIX)/ports-netbsd/ install -m 0444 mdocml-nport-$(VERSION).tar.gz $(PREFIX)/ports-netbsd/mdocml.tar.gz + install -m 0444 mdocml-fport-$(VERSION).tar.gz $(PREFIX)/ports-freebsd/ + install -m 0444 mdocml-fport-$(VERSION).tar.gz $(PREFIX)/ports-freebsd/mdocml.tar.gz install: mkdir -p $(BINDIR) @@ -187,6 +192,20 @@ mdocml-oport-$(VERSION).tar.gz: mdocml-$(VERSION).tar.gz Makefile.openbsd DESCR ( cd .dist/ && tar zcf ../$@ mdocml/ ) rm -rf .dist/ +mdocml-fport-$(VERSION).tar.gz: mdocml-$(VERSION).tar.gz Makefile.freebsd DESCR + mkdir -p .dist/mdocml + sed -e "s!@VERSION@!$(VERSION)!" Makefile.freebsd > \ + .dist/mdocml/Makefile + ( md5 mdocml-$(VERSION).tar.gz; \ + sha1 mdocml-$(VERSION).tar.gz; \ + echo -n "SIZE (mdocml-$(VERSION).tar.gz) = "; \ + ls -l mdocml-$(VERSION).tar.gz | awk '{print $$5}' \ + ) > .dist/mdocml/distinfo + install -m 0644 DESCR .dist/mdocml/pkg-descr + ( echo; echo "WWW: http://mdocml.bsd.lv/") >> .dist/mdocml/pkg-descr + ( cd .dist/ && tar zcf ../$@ mdocml/ ) + rm -rf .dist/ + mdocml-$(VERSION).tar.gz: $(INSTALL) mkdir -p .dist/mdocml/mdocml-$(VERSION)/ install -m 0644 $(INSTALL) .dist/mdocml/mdocml-$(VERSION)/ @@ -106,10 +106,12 @@ </h2> <p> - The source snapshot is automatically converted into OpenBSD port and NetBSD pkgsrc forms at <a - href="/ports-openbsd/">/ports-openbsd/</a> and <a href="/ports-netbsd/">/ports-netbsd/</a>, - respectively. Please read the <a href="http://www.openbsd.org/faq/faq15.html">OpenBSD Ports FAQ</a> or - <a href="http://www.netbsd.org/docs/software/packages.html">NetBSD pkgsrc guide</a>, first. + The source snapshot is automatically converted into OpenBSD, NetBSD and FreeBSD ports at <a + href="/ports-openbsd/">/ports-openbsd/</a>, <a href="/ports-netbsd/">/ports-netbsd/</a> and <a + href="/ports-freebsd/">/ports-freebsd/</a>, respectively. Please read the <a + href="http://www.openbsd.org/faq/faq15.html">OpenBSD Ports FAQ</a>, <a + href="http://www.netbsd.org/docs/software/packages.html">NetBSD pkgsrc guide</a> or <a + href="http://www.freebsd.org/ports/">FreeBSD Ports Guide</a> first. </p> <h3> @@ -139,6 +141,20 @@ # make build<br> # make install </p> + + <h3> + FreeBSD port + </h3> + + <p class="boxed"> + # pkg_delete mdocml<br> + # cd /usr/ports/textproc/<br> + # rm -rf mdocml<br> + # ftp -V -o- http://mdocml.bsd.lv/ports-freebsd/mdocml.tar.gz | tar -zvxf -<br> + # cd mdocml<br> + # make build<br> + # make install + </p> </td> </tr> <tr> |