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

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

1.3     ! minskim     1: # $NetBSD: Makefile,v 1.2 2009/03/01 17:45:19 minskim Exp $
1.1       minskim     2:
                      3: DISTNAME=      xdvik-22.84.14
1.2       minskim     4: PKGREVISION=   1
1.1       minskim     5: CATEGORIES=    print
                      6: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xdvi/}
                      7:
                      8: MAINTAINER=    minskim@NetBSD.org
                      9: HOMEPAGE=      http://xdvi.sourceforge.net/
                     10: COMMENT=       Previewer for DVI files
                     11:
                     12: CONFLICTS+=    teTeX-bin<3.0nb25
1.2       minskim    13: BUILD_DEPENDS+=        texlive-tetex-[0-9]*:../../print/texlive-tetex
                     14: BUILD_DEPENDS+=        tex-bin-xdvi-[0-9]*:../../print/tex-bin-xdvi
1.1       minskim    15:
                     16: PKG_DESTDIR_SUPPORT=   user-destdir
                     17:
                     18: GNU_CONFIGURE= yes
                     19: USE_LIBTOOL=   yes
                     20: WRKSRC=                ${WRKDIR}/${DISTNAME}/texk/xdvik
                     21:
1.2       minskim    22: FIND_PREFIX:=  TETEX_PREFIX=texlive-tetex BIN_XDVI_PREFIX=tex-bin-xdvi
1.1       minskim    23: .include "../../mk/find-prefix.mk"
                     24:
                     25: CONFIGURE_ARGS+=       --with-system-kpathsea --with-system-t1lib \
                     26:                        --with-xdvi-x-toolkit=xaw
                     27:
                     28: MAKE_FLAGS+=   LIBTOOL=${LIBTOOL:Q} \
                     29:                kpathsea_parent=${BUILDLINK_PREFIX.kpathsea}/include
                     30:
                     31: INSTALL_MAKE_FLAGS+=   prefix=${DESTDIR}${PREFIX} \
                     32:                        mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
                     33:
                     34: PKG_SYSCONFSUBDIR=     texmf
                     35:
                     36: MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdvi
                     37: CONF_FILES=    ${PREFIX}/share/texmf-dist/xdvi/XDvi \
                     38:                ${PKG_SYSCONFDIR}/xdvi/XDvi
                     39:
                     40: BUILD_DEFS+=   PAPERSIZE
                     41:
                     42: INSTALLATION_DIRS+=    share/texmf-dist/xdvi
                     43:
                     44: TEX_TEXMF_DIRS+=       ${PKG_SYSCONFDIR}
                     45: TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
                     46: TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf-dist
                     47:
                     48: .include "../../mk/bsd.prefs.mk"
                     49:
                     50: .if ${PAPERSIZE} == "Letter"
                     51: XDVI_PAPERSIZE=        us
                     52: .else
                     53: XDVI_PAPERSIZE=        a4
                     54: .endif
                     55:
                     56: .include "../../converters/libiconv/buildlink3.mk"
                     57: .include "../../fonts/t1lib/buildlink3.mk"
                     58: .include "../../print/kpathsea/buildlink3.mk"
                     59: .include "../../print/kpathsea/texmf.mk"
                     60: .include "../../x11/libXp/buildlink3.mk"
                     61: .include "../../x11/libXpm/buildlink3.mk"
                     62: .include "../../mk/xaw.buildlink3.mk"
                     63:
                     64: post-build:
1.2       minskim    65:        ${MKDIR} -p ${WRKSRC}/texmf/xdvi
                     66:        ${CP} ${BIN_XDVI_PREFIX}/share/texmf/xdvi/XDvi \
                     67:                ${WRKSRC}/texmf/xdvi
1.3     ! minskim    68:        env TEXMFCONFIG=${BIN_XDVI_PREFIX}/share/texmf \
        !            69:                TFC_TEXMFCONFIG=${WRKSRC}/texmf \
1.1       minskim    70:                ${TETEX_PREFIX}/bin/texconfig xdvi paper ${XDVI_PAPERSIZE}
                     71:
                     72: post-install:
                     73:        ${INSTALL_DATA} ${WRKSRC}/texmf/xdvi/XDvi \
                     74:                ${DESTDIR}${PREFIX}/share/texmf-dist/xdvi
                     75:
                     76: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>