summaryrefslogtreecommitdiff
path: root/textproc/mdocml/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-09-12 10:33:29 +0000
committerjperkin <jperkin>2013-09-12 10:33:29 +0000
commitf401a134c027adacb9023cb3cc4ee0518b03eef9 (patch)
tree0cdf7b2156971dc991f94d764a9d837b0dc016ee /textproc/mdocml/Makefile
parent51664778e0bd471c32e7ef8a8258473a36eb2a44 (diff)
downloadpkgsrc-f401a134c027adacb9023cb3cc4ee0518b03eef9.tar.gz
Rename preconv and roff.7 to have a 'mandoc-' prefix. This removes the
conflicts with textproc/groff and allows both packages to co-exist, paving the way for mdocml to be used in the tools infrastructure as an nroff replacement. Bump PKGREVISION.
Diffstat (limited to 'textproc/mdocml/Makefile')
-rw-r--r--textproc/mdocml/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile
index 206eb483e84..bf9ff92dee8 100644
--- a/textproc/mdocml/Makefile
+++ b/textproc/mdocml/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2012/12/24 13:40:18 jperkin Exp $
+# $NetBSD: Makefile,v 1.35 2013/09/12 10:33:29 jperkin Exp $
DISTNAME= mdocml-1.12.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc devel
MASTER_SITES= http://mdocml.bsd.lv/snapshots/
@@ -10,9 +10,15 @@ HOMEPAGE= http://mdocml.bsd.lv/
COMMENT= Man page tool (mdoc macro compiler)
LICENSE= 2-clause-bsd # not exactly, but near enough
-MAKE_FLAGS+= PREFIX=${PREFIX} DBLIB=${BDB_LIBS:Q}
+MAKE_FLAGS+= PREFIX=${PREFIX} DBLIB=${BDB_LIBS:Q}
-CONFLICTS= man-pages-[0-9]* groff-[0-9]*
+CONFLICTS= man-pages-[0-9]*
+
+SUBST_CLASSES+= roff
+SUBST_STAGE.roff= pre-build
+SUBST_FILES.roff= mandoc.1 mandoc.3
+SUBST_FILES.roff+= eqn.7 man.7 mdoc.7 tbl.7
+SUBST_SED.roff= -e 's,Xr roff,Xr mandoc-roff,g'
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"