[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / mdocml

Annotation of pkgsrc/textproc/mdocml/Makefile, Revision 1.44

1.44    ! adam        1: # $NetBSD: Makefile,v 1.43 2014/08/10 20:51:01 wiz Exp $
1.1       wiz         2:
1.43      wiz         3: DISTNAME=      mdocml-1.13.1
1.44    ! adam        4: PKGREVISION=   1
1.28      adam        5: CATEGORIES=    textproc devel
                      6: MASTER_SITES=  http://mdocml.bsd.lv/snapshots/
1.1       wiz         7:
1.28      adam        8: MAINTAINER=    kristaps@kth.se
                      9: HOMEPAGE=      http://mdocml.bsd.lv/
1.36      wiz        10: COMMENT=       Convert man pages from mdoc, man, and tbl to txt, html, ps, or pdf
1.28      adam       11: LICENSE=       2-clause-bsd # not exactly, but near enough
1.1       wiz        12:
1.43      wiz        13: MAKE_FLAGS+=   PREFIX=${PREFIX}
1.2       joerg      14:
1.35      jperkin    15: CONFLICTS=     man-pages-[0-9]*
                     16:
                     17: SUBST_CLASSES+=                roff
                     18: SUBST_STAGE.roff=      pre-build
                     19: SUBST_FILES.roff=      mandoc.1 mandoc.3
                     20: SUBST_FILES.roff+=     eqn.7 man.7 mdoc.7 tbl.7
                     21: SUBST_SED.roff=                -e 's,Xr roff,Xr mandoc-roff,g'
1.30      wiz        22:
1.38      wiz        23: .include "../../mk/bsd.fast.prefs.mk"
                     24:
1.40      tron       25: # Mac OS X and Solaris 10 and newer do not support static binaries.
                     26: .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
1.38      wiz        27: MAKE_FLAGS+=   STATIC=
                     28: .endif
                     29:
1.39      tron       30: post-extract:
                     31:        ${CP} -p ${FILESDIR}/*.c ${WRKSRC}
                     32:
1.43      wiz        33: post-install:
                     34:        cd ${DESTDIR}${PREFIX}/bin && mv preconv mandoc-preconv
                     35:        cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && mv preconv.1 mandoc-preconv.1
                     36:        cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7 && mv roff.7 mandoc-roff.7
                     37:
                     38: .include "../../databases/sqlite3/buildlink3.mk"
1.1       wiz        39: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>