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

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

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

CVSweb <webmaster@jp.NetBSD.org>