summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DESCR2
-rw-r--r--Makefile73
-rw-r--r--Makefile.freebsd22
-rw-r--r--Makefile.netbsd17
-rw-r--r--Makefile.openbsd22
-rw-r--r--index.sgml49
6 files changed, 18 insertions, 167 deletions
diff --git a/DESCR b/DESCR
deleted file mode 100644
index 5f10a716..00000000
--- a/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-The mdocml utilities compile mdoc-roff documents into a
-variety of output formats.
diff --git a/Makefile b/Makefile
index ad6f857d..09188d62 100644
--- a/Makefile
+++ b/Makefile
@@ -54,25 +54,16 @@ XSLS = ChangeLog.xsl
HTMLS = index.html ChangeLog.html
XMLS = ChangeLog.xml
STATICS = style.css external.png
-MD5S = mdocml-$(VERSION).md5 \
- mdocml-oport-$(VERSION).md5 \
- mdocml-fport-$(VERSION).md5 \
- mdocml-nport-$(VERSION).md5
-TARGZS = mdocml-$(VERSION).tar.gz \
- mdocml-oport-$(VERSION).tar.gz \
- mdocml-fport-$(VERSION).tar.gz \
- mdocml-nport-$(VERSION).tar.gz
+MD5S = mdocml-$(VERSION).md5
+TARGZS = mdocml-$(VERSION).tar.gz
MANS = mandoc.1 mdoc.3 mdoc.7 manuals.7 mandoc_char.7 \
man.7 man.3
TEXTS = mandoc.1.txt mdoc.3.txt mdoc.7.txt manuals.7.txt \
mandoc_char.7.txt man.7.txt man.3.txt
BINS = mandoc
CLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \
- $(TARGZS) tags $(TEXTS) ChangeLog.html $(MD5S) \
- $(XMLS)
-MAKEFILES = Makefile.netbsd Makefile.openbsd Makefile.freebsd \
- Makefile
-INSTALL = $(SRCS) $(HEADS) $(MAKEFILES) DESCR $(MANS) $(SGMLS) \
+ $(TARGZS) tags $(TEXTS) $(MD5S) $(XMLS)
+INSTALL = $(SRCS) $(HEADS) Makefile DESCR $(MANS) $(SGMLS) \
$(STATICS) $(DATAS) $(XSLS)
all: $(BINS)
@@ -97,18 +88,6 @@ installwww: www
install -m 0444 mdocml-$(VERSION).md5 $(PREFIX)/snapshots/
install -m 0444 mdocml-$(VERSION).tar.gz $(PREFIX)/snapshots/mdocml.tar.gz
install -m 0444 mdocml-$(VERSION).md5 $(PREFIX)/snapshots/mdocml.md5
- install -m 0444 mdocml-oport-$(VERSION).tar.gz $(PREFIX)/ports-openbsd/
- install -m 0444 mdocml-oport-$(VERSION).tar.gz $(PREFIX)/ports-openbsd/mdocml.tar.gz
- install -m 0444 mdocml-oport-$(VERSION).md5 $(PREFIX)/ports-openbsd/
- install -m 0444 mdocml-oport-$(VERSION).md5 $(PREFIX)/ports-openbsd/mdocml.md5
- 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-nport-$(VERSION).md5 $(PREFIX)/ports-netbsd/
- install -m 0444 mdocml-nport-$(VERSION).md5 $(PREFIX)/ports-netbsd/mdocml.md5
- 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 -m 0444 mdocml-fport-$(VERSION).md5 $(PREFIX)/ports-freebsd/
- install -m 0444 mdocml-fport-$(VERSION).md5 $(PREFIX)/ports-freebsd/mdocml.md5
install:
mkdir -p $(BINDIR)
@@ -197,50 +176,6 @@ ChangeLog.xml:
ChangeLog.html: ChangeLog.xml ChangeLog.xsl
xsltproc -o $@ ChangeLog.xsl ChangeLog.xml
-mdocml-nport-$(VERSION).tar.gz: mdocml-$(VERSION).tar.gz Makefile.netbsd DESCR
- mkdir -p .dist/mdocml/
- sed -e "s!@VERSION@!$(VERSION)!" Makefile.netbsd > \
- .dist/mdocml/Makefile
- md5 mdocml-$(VERSION).tar.gz > .dist/mdocml/distinfo
- rmd160 mdocml-$(VERSION).tar.gz >> .dist/mdocml/distinfo
- sha1 mdocml-$(VERSION).tar.gz >> .dist/mdocml/distinfo
- install -m 0644 DESCR .dist/mdocml/
- echo @comment $$NetBSD$$ > .dist/mdocml/PLIST
- echo bin/mandoc >> .dist/mdocml/PLIST
- echo man/man1/mandoc.1 >> .dist/mdocml/PLIST
- echo man/man7/mdoc.7 >> .dist/mdocml/PLIST
- ( cd .dist/ && tar zcf ../$@ mdocml/ )
- rm -rf .dist/
-
-mdocml-oport-$(VERSION).tar.gz: mdocml-$(VERSION).tar.gz Makefile.openbsd DESCR
- mkdir -p .dist/mdocml/pkg
- sed -e "s!@VERSION@!$(VERSION)!" Makefile.openbsd > \
- .dist/mdocml/Makefile
- md5 mdocml-$(VERSION).tar.gz > .dist/mdocml/distinfo
- rmd160 mdocml-$(VERSION).tar.gz >> .dist/mdocml/distinfo
- sha1 mdocml-$(VERSION).tar.gz >> .dist/mdocml/distinfo
- install -m 0644 DESCR .dist/mdocml/pkg/DESCR
- echo @comment $$OpenBSD$$ > .dist/mdocml/pkg/PLIST
- echo bin/mandoc >> .dist/mdocml/pkg/PLIST
- echo @man man/man1/mandoc.1 >> .dist/mdocml/pkg/PLIST
- echo @man man/man7/mdoc.7 >> .dist/mdocml/pkg/PLIST
- ( 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; \
- cksum -a SHA256 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)/
diff --git a/Makefile.freebsd b/Makefile.freebsd
deleted file mode 100644
index 8d3b1e51..00000000
--- a/Makefile.freebsd
+++ /dev/null
@@ -1,22 +0,0 @@
-# New ports collection makefile for: textproc/mdocml
-# Date created: 09.03.2009
-# Whom: Ulrich Spoerlein <uspoerlein@gmail.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mdocml
-PORTVERSION= @VERSION@
-CATEGORIES= textproc
-MASTER_SITES= http://mdocml.bsd.lv/snapshots/ \
- https://www.spoerlein.net/pub/mdocml/
-
-MAINTAINER= uspoerlein@gmail.com
-COMMENT= mdoc macro compiler
-
-MAN1= mandoc.1
-MAN7= mdoc.7
-
-PLIST_FILES= bin/mandoc
-
-.include <bsd.port.mk>
diff --git a/Makefile.netbsd b/Makefile.netbsd
deleted file mode 100644
index ab2068cb..00000000
--- a/Makefile.netbsd
+++ /dev/null
@@ -1,17 +0,0 @@
-# $NetBSD$
-
-DISTNAME= mdocml-@VERSION@
-CATEGORIES= textproc
-MASTER_SITES= http://mdocml.bsd.lv/snapshots/
-
-MAINTAINER= kristaps@kth.se
-HOMEPAGE= http://mdocml.bsd.lv/
-COMMENT= mdoc macro compiler
-
-PKG_DESTDIR_SUPPORT= user-destdir
-
-INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX} \
- MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} \
- INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/Makefile.openbsd b/Makefile.openbsd
deleted file mode 100644
index 12b5ef11..00000000
--- a/Makefile.openbsd
+++ /dev/null
@@ -1,22 +0,0 @@
-# $OpenBSD$
-
-COMMENT= mdoc macro compiler
-
-DISTNAME= mdocml-@VERSION@
-CATEGORIES= textproc
-
-HOMEPAGE= http://mdocml.bsd.lv/
-
-MAINTAINER= Kristaps Dzonsons <kristaps@kth.se>
-
-# BSD
-PERMIT_PACKAGE_CDROM= Yes
-PERMIT_PACKAGE_FTP= Yes
-PERMIT_DISTFILES_CDROM= Yes
-PERMIT_DISTFILES_FTP= Yes
-
-MASTER_SITES= http://mdocml.bsd.lv/snapshots/
-
-WANTLIB= c
-
-.include <bsd.port.mk>
diff --git a/index.sgml b/index.sgml
index f89e34fa..8edea2d7 100644
--- a/index.sgml
+++ b/index.sgml
@@ -59,7 +59,7 @@
</p>
<h2>
- Downstream
+ Current
</h2>
<table width="100%">
@@ -67,31 +67,17 @@
<col>
<tbody>
<tr>
- <td>FreeBSD</td>
- <td>
- <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/textproc/mdocml/"
- class="external">ports/textproc/mdocml</a>
- </td>
- </tr>
- <tr>
- <td>NetBSD</td>
- <td>
- <a href="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/mdocml/"
- class="external">pkgsrc/textproc/mdocml</a>
- </td>
- </tr>
- <tr>
- <td>OpenBSD</td>
+ <td>Source archive</td>
<td>
- <a href="http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/mandoc/"
- class="external">src/usr.bin/mandoc</a>
+ <a href="/snapshots/mdocml.tar.gz">/snapshots/mdocml.tar.gz</a>
+ (<a href="/snapshots/mdocml.md5">md5</a>)
</td>
</tr>
</tbody>
</table>
<h2>
- Current
+ Downstream
</h2>
<table width="100%">
@@ -99,31 +85,24 @@
<col>
<tbody>
<tr>
- <td>Source archive</td>
- <td>
- <a href="/snapshots/mdocml.tar.gz">/snapshots/mdocml.tar.gz</a>
- (<a href="/snapshots/mdocml.md5">md5</a>)
- </td>
- </tr>
- <tr>
- <td>FreeBSD port</td>
+ <td>FreeBSD</td>
<td>
- <a href="/ports-freebsd/mdocml.tar.gz">/ports-freebsd/mdocml.tar.gz</a>
- (<a href="/ports-freebsd/mdocml.md5">md5</a>)
+ <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/textproc/mdocml/"
+ class="external">ports/textproc/mdocml</a>
</td>
</tr>
<tr>
- <td>NetBSD pkgsrc</td>
+ <td>NetBSD</td>
<td>
- <a href="/ports-netbsd/mdocml.tar.gz">/ports-netbsd/mdocml.tar.gz</a>
- (<a href="/ports-netbsd/mdocml.md5">md5</a>)
+ <a href="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/mdocml/"
+ class="external">pkgsrc/textproc/mdocml</a>
</td>
</tr>
<tr>
- <td>OpenBSD port</td>
+ <td>OpenBSD</td>
<td>
- <a href="/ports-openbsd/mdocml.tar.gz">/ports-openbsd/mdocml.tar.gz</a>
- (<a href="/ports-openbsd/mdocml.md5">md5</a>)
+ <a href="http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/mandoc/"
+ class="external">src/usr.bin/mandoc</a>
</td>
</tr>
</tbody>