diff options
author | hira <hira> | 2006-06-24 10:54:39 +0000 |
---|---|---|
committer | hira <hira> | 2006-06-24 10:54:39 +0000 |
commit | e3c44db7dcd44a57b0631437b7c306df4472432d (patch) | |
tree | 3a8c05365458044fb59a17aae206de575c1bd2f5 /print/ja-vfxdvik | |
parent | bcc6ea2905166743d694ab5593e00b4e86b55871 (diff) | |
download | pkgsrc-e3c44db7dcd44a57b0631437b7c306df4472432d.tar.gz |
- Use print/teTeX/module.mk framework.
- Define BUILD_DIRS instead of define do-build and do-install target.
- Explicitly include zlib's buildlink file.
- Sort inclusions of buildlink file.
Bump PKGREVISION.
Diffstat (limited to 'print/ja-vfxdvik')
-rw-r--r-- | print/ja-vfxdvik/Makefile | 38 | ||||
-rw-r--r-- | print/ja-vfxdvik/PLIST | 12 |
2 files changed, 22 insertions, 28 deletions
diff --git a/print/ja-vfxdvik/Makefile b/print/ja-vfxdvik/Makefile index ca301145498..1bcba528606 100644 --- a/print/ja-vfxdvik/Makefile +++ b/print/ja-vfxdvik/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.22 2006/05/13 03:44:24 minskim Exp $ +# $NetBSD: Makefile,v 1.23 2006/06/24 10:54:39 hira Exp $ DISTNAME= xdvik-${XDVIK_ORIGINAL_VERS} PKGNAME= ja-vfxdvik-${XDVIK_ORIGINAL_VERS}.${XDVIK_JP_PATCH_VERS} -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= japanese print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xdvi/} # not xdvik @@ -17,18 +17,18 @@ COMMENT= Xdvik with vflib XDVIK_ORIGINAL_VERS= 22.40v XDVIK_JP_PATCH_VERS= j1.14 -DEPENDS+= ja-ptex-bin>=3.1.2:../../print/ja-ptex-bin -#TEX_ACCEPTED= teTeX2 -.include "../../print/teTeX-bin/buildlink3.mk" +DEPENDS+= ja-ptex-bin>=3.1.9:../../print/ja-ptex-bin -XDVI_DIR= ${WRKDIR}/${DISTNAME}/texk/xdvik +.include "../../print/teTeX/module.mk" + +BUILD_DIRS= ${WRKDIR}/${DISTNAME}/texk/xdvik USE_TOOLS+= gmake USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/config/config LIBTOOL_OVERRIDE= klibtool GNU_CONFIGURE= YES -CONFIGURE_ARGS+=--enable-local-texmf=${PREFIX}/share/texmf.local \ +CONFIGURE_ARGS+=--enable-local-texmf=${PKG_LOCALTEXMFPREFIX} \ --without-texinfo \ --without-dialog \ --disable-multiplatform \ @@ -41,8 +41,10 @@ CONFIGURE_ARGS+=--enable-local-texmf=${PREFIX}/share/texmf.local \ --with-system-pnglib \ --with-system-t1lib \ --with-system-zlib \ + --with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib \ + --with-zlib-include=${BUILDLINK_PREFIX.zlib}/include \ --enable-xdviprint=${PREFIX}/bin/vfxdviprint \ - --enable-xdvietcdir=${PREFIX}/share/texmf.local/vfxdvi + --enable-xdvietcdir=${PKG_LOCALTEXMFPREFIX}/vfxdvi .include "../../mk/bsd.prefs.mk" .if defined(PAPERSIZE) && ${PAPERSIZE} == "A4" @@ -50,27 +52,19 @@ CONFIGURE_ARGS+=--enable-a4 .endif .if ${OPSYS} != "SunOS" -CONFIGURE_ARGS+=--enable-auto-core \ - --with-zlib-libdir=/usr/lib \ - --with-zlib-include=/usr/include +CONFIGURE_ARGS+=--enable-auto-core .else -CONFIGURE_ARGS+= --with-zlib-libdir=${PREFIX}/lib \ - --with-zlib-include=${PREFIX}/include +USE_BUILTIN.zlib= no # force use pkgsrc zlib .endif CONFIGURE_ENV+= INSTALL_PROGRAM=${INSTALL_PROGRAM:Q} \ INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} \ INSTALL_DATA=${INSTALL_DATA:Q} -do-build: - cd ${XDVI_DIR} && ${MAKE_PROGRAM} - -do-install: - cd ${XDVI_DIR} && ${MAKE_PROGRAM} install - -.include "../../www/libwww/buildlink3.mk" -.include "../../print/ja-vflib-lib/buildlink3.mk" -.include "../../graphics/png/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" .include "../../fonts/t1lib/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../print/ja-vflib-lib/buildlink3.mk" +.include "../../www/libwww/buildlink3.mk" .include "../../mk/x11.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/ja-vfxdvik/PLIST b/print/ja-vfxdvik/PLIST index 3252acd4eda..2bff233d625 100644 --- a/print/ja-vfxdvik/PLIST +++ b/print/ja-vfxdvik/PLIST @@ -1,12 +1,12 @@ -@comment $NetBSD: PLIST,v 1.3 2003/10/05 02:00:43 kei Exp $ +@comment $NetBSD: PLIST,v 1.4 2006/06/24 10:54:39 hira Exp $ bin/vfxdvi bin/vfxdvi.bin bin/vfxdviprint bin/vfxdvizilla man/man1/vfxdvi.1 man/man1/vfxdvizilla.1 -share/texmf.local/vfxdvi/vfontmap -share/texmf.local/vfxdvi/xdvipaper.dvi2ps-j -share/texmf.local/vfxdvi/xdvipaper.dvips -share/texmf.local/vfxdvi/xdvipaper.jdvi2kps -@dirrm share/texmf.local/vfxdvi +${PKG_LOCALTEXMFPREFIX}/vfxdvi/vfontmap +${PKG_LOCALTEXMFPREFIX}/vfxdvi/xdvipaper.dvi2ps-j +${PKG_LOCALTEXMFPREFIX}/vfxdvi/xdvipaper.dvips +${PKG_LOCALTEXMFPREFIX}/vfxdvi/xdvipaper.jdvi2kps +@dirrm ${PKG_LOCALTEXMFPREFIX}/vfxdvi |