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

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

1.58    ! wiz         1: # $NetBSD: Makefile,v 1.57 2016/07/20 23:42:12 sevan Exp $
1.1       wiz         2:
1.55      wiz         3: DISTNAME=      mdocml-1.13.4
1.58    ! wiz         4: PKGREVISION=   1
1.28      adam        5: CATEGORIES=    textproc devel
                      6: MASTER_SITES=  http://mdocml.bsd.lv/snapshots/
1.1       wiz         7:
1.52      jym         8: MAINTAINER=    schwarze@usta.de
1.28      adam        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.45      wiz        13: HAS_CONFIGURE= yes
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.45      wiz        25: post-extract:
                     26:        ${ECHO} PREFIX=${PREFIX} > ${WRKSRC}/configure.local
1.47      obache     27:        ${ECHO} MANDIR=${PREFIX}/${PKGMANDIR} >> ${WRKSRC}/configure.local
1.48      wiz        28:        ${ECHO} CFLAGS=\"${CFLAGS:Q}\" >> ${WRKSRC}/configure.local
1.56      jperkin    29:        ${ECHO} LDFLAGS=\"${LDFLAGS:Q}\" >> ${WRKSRC}/configure.local
                     30:        ${ECHO} LD_SQLITE3=\"${LDFLAGS} -lsqlite3\" >> ${WRKSRC}/configure.local
1.48      wiz        31:        ${ECHO} INSTALL=\"${INSTALL:Q}\" >> ${WRKSRC}/configure.local
                     32:        ${ECHO} INSTALL_PROGRAM=\"${INSTALL_PROGRAM:Q}\" >> ${WRKSRC}/configure.local
                     33:        ${ECHO} INSTALL_LIB=\"${INSTALL_DATA:Q}\" >> ${WRKSRC}/configure.local
                     34:        ${ECHO} INSTALL_MAN=\"${INSTALL_MAN:Q}\" >> ${WRKSRC}/configure.local
                     35:        ${ECHO} INSTALL_DATA=\"${INSTALL_DATA:Q}\" >> ${WRKSRC}/configure.local
1.46      obache     36:        ${ECHO} MANM_ROFF="mandoc-roff" >> ${WRKSRC}/configure.local
1.58    ! wiz        37:        ${ECHO} BINM_SOELIM="msoelim" >> ${WRKSRC}/configure.local
1.57      sevan      38: # Need -lrt for nanosleep(2) on Solaris.
                     39: .if ${OPSYS} == "SunOS"
                     40:        ${ECHO} LDADD=\"-lrt\" >> ${WRKSRC}/configure.local
                     41: .endif
1.40      tron       42: # Mac OS X and Solaris 10 and newer do not support static binaries.
                     43: .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
1.45      wiz        44:        ${ECHO} STATIC= >> ${WRKSRC}/configure.local
1.38      wiz        45: .endif
                     46:
1.43      wiz        47: .include "../../databases/sqlite3/buildlink3.mk"
1.56      jperkin    48: .include "../../devel/zlib/buildlink3.mk"
1.1       wiz        49: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>