diff options
Diffstat (limited to 'print/xdvik/Makefile')
-rw-r--r-- | print/xdvik/Makefile | 61 |
1 files changed, 24 insertions, 37 deletions
diff --git a/print/xdvik/Makefile b/print/xdvik/Makefile index 282203cbca8..7f335ed0d0f 100644 --- a/print/xdvik/Makefile +++ b/print/xdvik/Makefile @@ -1,13 +1,11 @@ -# $NetBSD: Makefile,v 1.26 2018/05/13 17:19:19 bsiegert Exp $ +# $NetBSD: Makefile,v 1.27 2019/05/09 09:47:36 adam Exp $ + +.include "../../print/texlive/Makefile.common" -DISTNAME= texlive-20180414-source PKGNAME= xdvik-22.87.03 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= print -MASTER_SITES= ftp://tug.org/historic/systems/texlive/2018/ -EXTRACT_SUFX= .tar.xz -MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://xdvi.sourceforge.net/ COMMENT= Previewer for DVI files @@ -16,31 +14,21 @@ BUILD_DEPENDS+= tex-xdvi-[0-9]*:../../print/tex-xdvi DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk DEPENDS+= kpathsea>=6.2.1:../../print/kpathsea -EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \ - ${DISTNAME}/texk/xdvik +EXTRACT_ELEMENTS+= ${DISTNAME}/texk/xdvik USE_TOOLS+= gs:run -MAKE_JOBS_SAFE= no - -GNU_CONFIGURE= yes -USE_LIBTOOL= yes -USE_TOOLS+= pkg-config WRKSRC= ${WRKDIR}/${DISTNAME}/texk/xdvik -CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.guess -CONFIG_SUB_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.sub - +GNU_CONFIGURE_STRICT= no # texk/xdvik/squeeze/configure CONFIGURE_ARGS+= --with-system-freetype2 CONFIGURE_ARGS+= --with-system-kpathsea -CONFIGURE_ARGS+= --with-system-zlib \ - --with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include \ - --with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib +CONFIGURE_ARGS+= --with-system-zlib +CONFIGURE_ARGS+= --with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include +CONFIGURE_ARGS+= --with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib CONFIGURE_ARGS+= --with-xdvi-x-toolkit=xaw -CONFIGURE_ARGS+= --with-default-dvips-path=${LOCALBASE}/bin/dvips -CONFIGURE_ARGS+= --with-default-ps2pdf-path=${LOCALBASE}/bin/ps2pdf -CONFIGURE_ENV+= FT2_CONFIG=pkg-config \ - PKG_CONFIG=${TOOLS_CMD.pkg-config} +CONFIGURE_ARGS+= --with-default-dvips-path=${PREFIX}/bin/dvips +CONFIGURE_ARGS+= --with-default-ps2pdf-path=${PREFIX}/bin/ps2pdf PKG_SYSCONFSUBDIR= texmf @@ -63,26 +51,25 @@ XDVI_PAPERSIZE= us XDVI_PAPERSIZE= a4 .endif -.include "../../sysutils/desktop-file-utils/desktopdb.mk" -.include "../../converters/libiconv/buildlink3.mk" -.include "../../devel/zlib/buildlink3.mk" -.include "../../graphics/freetype2/buildlink3.mk" -.include "../../print/kpathsea/buildlink3.mk" -.include "../../print/kpathsea/texmf.mk" -.include "../../x11/libXi/buildlink3.mk" -.include "../../x11/libXpm/buildlink3.mk" -.include "../../mk/xaw.buildlink3.mk" - post-build: ${RM} ${WRKSRC}/texmf/XDvi - ${MKDIR} -p ${WRKSRC}/texmf/xdvi - ${CP} ${LOCALBASE}/share/texmf-dist/xdvi/XDvi ${WRKSRC}/texmf/xdvi - env TEXMFCONFIG=${LOCALBASE}/share/texmf \ + ${MKDIR} ${WRKSRC}/texmf/xdvi + ${CP} ${PREFIX}/share/texmf-dist/xdvi/XDvi ${WRKSRC}/texmf/xdvi + ${SETENV} TEXMFCONFIG=${PREFIX}/share/texmf \ TFC_TEXMFCONFIG=${WRKSRC}/texmf \ - ${LOCALBASE}/bin/texconfig xdvi paper ${XDVI_PAPERSIZE} + ${PREFIX}/bin/texconfig xdvi paper ${XDVI_PAPERSIZE} post-install: ${INSTALL_DATA} ${WRKSRC}/texmf/xdvi/XDvi \ ${DESTDIR}${PREFIX}/share/examples/xdvik +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../print/kpathsea/buildlink3.mk" +.include "../../print/kpathsea/texmf.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../x11/libXi/buildlink3.mk" +.include "../../x11/libXpm/buildlink3.mk" +.include "../../mk/xaw.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |