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

Annotation of pkgsrc/print/xdvik/Makefile, Revision 1.25

1.25    ! markd       1: # $NetBSD: Makefile,v 1.24 2018/05/05 23:17:33 dholland Exp $
1.1       minskim     2:
1.25    ! markd       3: DISTNAME=      texlive-20180414-source
1.21      markd       4: PKGNAME=       xdvik-22.87.03
1.25    ! markd       5: PKGREVISION=   2
1.1       minskim     6: CATEGORIES=    print
1.25    ! markd       7: MASTER_SITES=  ftp://tug.org/historic/systems/texlive/2018/
1.7       minskim     8: EXTRACT_SUFX=  .tar.xz
1.1       minskim     9:
                     10: MAINTAINER=    minskim@NetBSD.org
                     11: HOMEPAGE=      http://xdvi.sourceforge.net/
                     12: COMMENT=       Previewer for DVI files
                     13:
1.14      minskim    14: BUILD_DEPENDS+=        tex-texconfig-[0-9]*:../../print/tex-texconfig
1.7       minskim    15: BUILD_DEPENDS+=        tex-xdvi-[0-9]*:../../print/tex-xdvi
                     16: DEPENDS+=      dvipsk-[0-9]*:../../print/dvipsk
1.18      markd      17: DEPENDS+=      kpathsea>=6.2.1:../../print/kpathsea
1.7       minskim    18:
                     19: EXTRACT_ELEMENTS=      ${DISTNAME}/build-aux \
                     20:                        ${DISTNAME}/texk/xdvik
1.1       minskim    21:
1.13      sbd        22: USE_TOOLS+=    gs:run
                     23:
1.6       joerg      24: MAKE_JOBS_SAFE=        no
1.1       minskim    25:
                     26: GNU_CONFIGURE= yes
                     27: USE_LIBTOOL=   yes
1.18      markd      28: USE_TOOLS+=    pkg-config
1.1       minskim    29: WRKSRC=                ${WRKDIR}/${DISTNAME}/texk/xdvik
                     30:
1.16      joerg      31: CONFIG_GUESS_OVERRIDE+=        ${WRKDIR}/${DISTNAME}/build-aux/config.guess
                     32: CONFIG_SUB_OVERRIDE+=  ${WRKDIR}/${DISTNAME}/build-aux/config.sub
                     33:
1.14      minskim    34: CONFIGURE_ARGS+=       --with-system-freetype2
1.18      markd      35: CONFIGURE_ARGS+=       --with-system-kpathsea
1.14      minskim    36: CONFIGURE_ARGS+=       --with-system-zlib \
                     37:                --with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include \
                     38:                --with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
1.7       minskim    39: CONFIGURE_ARGS+=       --with-xdvi-x-toolkit=xaw
                     40: CONFIGURE_ARGS+=       --with-default-dvips-path=${LOCALBASE}/bin/dvips
                     41: CONFIGURE_ARGS+=       --with-default-ps2pdf-path=${LOCALBASE}/bin/ps2pdf
1.24      dholland   42: CONFIGURE_ENV+=                FT2_CONFIG=pkg-config \
                     43:                PKG_CONFIG=${TOOLS_CMD.pkg-config}
1.1       minskim    44:
                     45: PKG_SYSCONFSUBDIR=     texmf
                     46:
                     47: MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdvi
1.14      minskim    48: CONF_FILES=    ${PREFIX}/share/examples/xdvik/XDvi \
1.1       minskim    49:                ${PKG_SYSCONFDIR}/xdvi/XDvi
                     50:
                     51: BUILD_DEFS+=   PAPERSIZE
                     52:
1.14      minskim    53: INSTALLATION_DIRS+=    share/examples/xdvik
1.1       minskim    54:
                     55: TEX_TEXMF_DIRS+=       ${PKG_SYSCONFDIR}
                     56: TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf-dist
                     57:
                     58: .include "../../mk/bsd.prefs.mk"
                     59:
                     60: .if ${PAPERSIZE} == "Letter"
                     61: XDVI_PAPERSIZE=        us
                     62: .else
                     63: XDVI_PAPERSIZE=        a4
                     64: .endif
                     65:
1.25    ! markd      66: .include "../../sysutils/desktop-file-utils/desktopdb.mk"
1.1       minskim    67: .include "../../converters/libiconv/buildlink3.mk"
1.14      minskim    68: .include "../../devel/zlib/buildlink3.mk"
                     69: .include "../../graphics/freetype2/buildlink3.mk"
1.1       minskim    70: .include "../../print/kpathsea/buildlink3.mk"
                     71: .include "../../print/kpathsea/texmf.mk"
1.17      markd      72: .include "../../x11/libXi/buildlink3.mk"
1.1       minskim    73: .include "../../x11/libXpm/buildlink3.mk"
                     74: .include "../../mk/xaw.buildlink3.mk"
                     75:
1.14      minskim    76: post-build:
1.15      dbj        77:        ${RM} ${WRKSRC}/texmf/XDvi
1.7       minskim    78:        ${MKDIR} -p ${WRKSRC}/texmf/xdvi
1.14      minskim    79:        ${CP} ${LOCALBASE}/share/texmf-dist/xdvi/XDvi ${WRKSRC}/texmf/xdvi
1.7       minskim    80:        env TEXMFCONFIG=${LOCALBASE}/share/texmf \
1.3       minskim    81:                TFC_TEXMFCONFIG=${WRKSRC}/texmf \
1.7       minskim    82:                ${LOCALBASE}/bin/texconfig xdvi paper ${XDVI_PAPERSIZE}
1.1       minskim    83:
                     84: post-install:
                     85:        ${INSTALL_DATA} ${WRKSRC}/texmf/xdvi/XDvi \
1.14      minskim    86:                ${DESTDIR}${PREFIX}/share/examples/xdvik
1.1       minskim    87:
                     88: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>