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 /Makefile | |
parent | 590f49184da28584f90d0b7e2c83d97121aa9900 (diff) | |
download | mandoc-ba499535bfa8d6f52738a826d21375506ad2115d.tar.gz |
Added FreeBSD port.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 20 insertions, 1 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)/ |