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

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

1.14    ! minskim     1: # $NetBSD: Makefile,v 1.13 2013/04/24 10:12:32 sbd Exp $
1.1       minskim     2:
1.14    ! minskim     3: DISTNAME=      texlive-20130530-source
        !             4: PKGNAME=       xdvik-22.86
1.1       minskim     5: CATEGORIES=    print
1.7       minskim     6: MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
                      7: EXTRACT_SUFX=  .tar.xz
1.1       minskim     8:
                      9: MAINTAINER=    minskim@NetBSD.org
                     10: HOMEPAGE=      http://xdvi.sourceforge.net/
                     11: COMMENT=       Previewer for DVI files
                     12:
                     13: CONFLICTS+=    teTeX-bin<3.0nb25
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.9       minskim    17: DEPENDS+=      kpathsea>=6.0.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
                     28: WRKSRC=                ${WRKDIR}/${DISTNAME}/texk/xdvik
                     29:
1.7       minskim    30: FIND_PREFIX:=  TEX_XDVI_PREFIX=tex-xdvi
1.1       minskim    31: .include "../../mk/find-prefix.mk"
                     32:
1.14    ! minskim    33: CONFIGURE_ARGS+=       --with-system-freetype2
1.7       minskim    34: CONFIGURE_ARGS+=       --with-system-kpathsea \
                     35:                --with-kpathsea-includes=${BUILDLINK_PREFIX.kpathsea}/include \
                     36:                --with-kpathsea-libdir=${BUILDLINK_PREFIX.kpathsea}/lib
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"
                     70: .include "../../x11/libXpm/buildlink3.mk"
                     71: .include "../../mk/xaw.buildlink3.mk"
                     72:
1.14    ! minskim    73: post-build:
1.7       minskim    74:        ${MKDIR} -p ${WRKSRC}/texmf/xdvi
1.14    ! minskim    75:        ${CP} ${LOCALBASE}/share/texmf-dist/xdvi/XDvi ${WRKSRC}/texmf/xdvi
1.7       minskim    76:        env TEXMFCONFIG=${LOCALBASE}/share/texmf \
1.3       minskim    77:                TFC_TEXMFCONFIG=${WRKSRC}/texmf \
1.7       minskim    78:                ${LOCALBASE}/bin/texconfig xdvi paper ${XDVI_PAPERSIZE}
1.1       minskim    79:
                     80: post-install:
                     81:        ${INSTALL_DATA} ${WRKSRC}/texmf/xdvi/XDvi \
1.14    ! minskim    82:                ${DESTDIR}${PREFIX}/share/examples/xdvik
1.1       minskim    83:
                     84: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>