summaryrefslogtreecommitdiff
path: root/textproc/mdocml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/mdocml/Makefile')
-rw-r--r--textproc/mdocml/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile
index 386181fd475..7ef2a17f937 100644
--- a/textproc/mdocml/Makefile
+++ b/textproc/mdocml/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2014/10/07 16:47:36 adam Exp $
+# $NetBSD: Makefile,v 1.45 2014/12/13 15:52:53 wiz Exp $
-DISTNAME= mdocml-1.13.1
-PKGREVISION= 1
+DISTNAME= mdocml-1.13.2
CATEGORIES= textproc devel
MASTER_SITES= http://mdocml.bsd.lv/snapshots/
@@ -10,7 +9,7 @@ HOMEPAGE= http://mdocml.bsd.lv/
COMMENT= Convert man pages from mdoc, man, and tbl to txt, html, ps, or pdf
LICENSE= 2-clause-bsd # not exactly, but near enough
-MAKE_FLAGS+= PREFIX=${PREFIX}
+HAS_CONFIGURE= yes
CONFLICTS= man-pages-[0-9]*
@@ -22,17 +21,14 @@ SUBST_SED.roff= -e 's,Xr roff,Xr mandoc-roff,g'
.include "../../mk/bsd.fast.prefs.mk"
+post-extract:
+ ${ECHO} PREFIX=${PREFIX} > ${WRKSRC}/configure.local
# Mac OS X and Solaris 10 and newer do not support static binaries.
.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
-MAKE_FLAGS+= STATIC=
+ ${ECHO} STATIC= >> ${WRKSRC}/configure.local
.endif
-post-extract:
- ${CP} -p ${FILESDIR}/*.c ${WRKSRC}
-
post-install:
- cd ${DESTDIR}${PREFIX}/bin && mv preconv mandoc-preconv
- cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && mv preconv.1 mandoc-preconv.1
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7 && mv roff.7 mandoc-roff.7
.include "../../databases/sqlite3/buildlink3.mk"