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

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

1.57    ! sevan       1: # $NetBSD: Makefile,v 1.56 2016/07/15 11:18:12 jperkin Exp $
1.1       wiz         2:
1.55      wiz         3: DISTNAME=      mdocml-1.13.4
1.28      adam        4: CATEGORIES=    textproc devel
                      5: MASTER_SITES=  http://mdocml.bsd.lv/snapshots/
1.1       wiz         6:
1.52      jym         7: MAINTAINER=    schwarze@usta.de
1.28      adam        8: HOMEPAGE=      http://mdocml.bsd.lv/
1.36      wiz         9: COMMENT=       Convert man pages from mdoc, man, and tbl to txt, html, ps, or pdf
1.28      adam       10: LICENSE=       2-clause-bsd # not exactly, but near enough
1.1       wiz        11:
1.45      wiz        12: HAS_CONFIGURE= yes
1.2       joerg      13:
1.35      jperkin    14: CONFLICTS=     man-pages-[0-9]*
                     15:
                     16: SUBST_CLASSES+=                roff
                     17: SUBST_STAGE.roff=      pre-build
                     18: SUBST_FILES.roff=      mandoc.1 mandoc.3
                     19: SUBST_FILES.roff+=     eqn.7 man.7 mdoc.7 tbl.7
                     20: SUBST_SED.roff=                -e 's,Xr roff,Xr mandoc-roff,g'
1.30      wiz        21:
1.38      wiz        22: .include "../../mk/bsd.fast.prefs.mk"
                     23:
1.45      wiz        24: post-extract:
                     25:        ${ECHO} PREFIX=${PREFIX} > ${WRKSRC}/configure.local
1.47      obache     26:        ${ECHO} MANDIR=${PREFIX}/${PKGMANDIR} >> ${WRKSRC}/configure.local
1.48      wiz        27:        ${ECHO} CFLAGS=\"${CFLAGS:Q}\" >> ${WRKSRC}/configure.local
1.56      jperkin    28:        ${ECHO} LDFLAGS=\"${LDFLAGS:Q}\" >> ${WRKSRC}/configure.local
                     29:        ${ECHO} LD_SQLITE3=\"${LDFLAGS} -lsqlite3\" >> ${WRKSRC}/configure.local
1.48      wiz        30:        ${ECHO} INSTALL=\"${INSTALL:Q}\" >> ${WRKSRC}/configure.local
                     31:        ${ECHO} INSTALL_PROGRAM=\"${INSTALL_PROGRAM:Q}\" >> ${WRKSRC}/configure.local
                     32:        ${ECHO} INSTALL_LIB=\"${INSTALL_DATA:Q}\" >> ${WRKSRC}/configure.local
                     33:        ${ECHO} INSTALL_MAN=\"${INSTALL_MAN:Q}\" >> ${WRKSRC}/configure.local
                     34:        ${ECHO} INSTALL_DATA=\"${INSTALL_DATA:Q}\" >> ${WRKSRC}/configure.local
1.46      obache     35:        ${ECHO} MANM_ROFF="mandoc-roff" >> ${WRKSRC}/configure.local
1.57    ! sevan      36: # Need -lrt for nanosleep(2) on Solaris.
        !            37: .if ${OPSYS} == "SunOS"
        !            38:        ${ECHO} LDADD=\"-lrt\" >> ${WRKSRC}/configure.local
        !            39: .endif
1.40      tron       40: # Mac OS X and Solaris 10 and newer do not support static binaries.
                     41: .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
1.45      wiz        42:        ${ECHO} STATIC= >> ${WRKSRC}/configure.local
1.38      wiz        43: .endif
                     44:
1.43      wiz        45: .include "../../databases/sqlite3/buildlink3.mk"
1.56      jperkin    46: .include "../../devel/zlib/buildlink3.mk"
1.1       wiz        47: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>