diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2005-12-30 14:28:36 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2005-12-30 14:28:36 +0000 |
commit | 654eacac6f7289587b3a992596d25e4febf9c75d (patch) | |
tree | f41161bd0612d27699420d56495a61e8647d07f3 | |
parent | 44bafa0f164fd102976e6bf0ff6f32552e8e8914 (diff) | |
download | freebsd-ports-654eacac6f7289587b3a992596d25e4febf9c75d.zip |
- Fix pkg-plist.
- Add a missing ${CAT} ${PKGMESSAGE} into the post-install target.
- Change the name of the Japanese font map file from kanji.map to
psfonts_jp.map.
-rw-r--r-- | japanese/dvipsk/Makefile | 13 | ||||
-rw-r--r-- | japanese/dvipsk/pkg-plist | 11 |
2 files changed, 15 insertions, 9 deletions
diff --git a/japanese/dvipsk/Makefile b/japanese/dvipsk/Makefile index 16fd01081625..31b82927277f 100644 --- a/japanese/dvipsk/Makefile +++ b/japanese/dvipsk/Makefile @@ -7,7 +7,7 @@ PORTNAME= dvipsk PORTVERSION= 5.95b -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= japanese print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,text/TeX/ptex-win32/utils,:S,$,:udvipspatch,} \ @@ -37,8 +37,6 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ wwwcore.1:${PORTSDIR}/www/libwww \ t1.5:${PORTSDIR}/devel/t1lib -BROKEN= Incomplete pkg-plist - PATCH_WRKSRC= ${WRKDIR}/${TETEX_SRC}/texk EXTRA_PATCHES= ${WRKDIR}/dvipsk-${PORTVERSION}-p1.7a.diff CONFIGURE_WRKSRC=${WRKDIR}/${TETEX_SRC} @@ -47,6 +45,7 @@ INSTALL_WRKSRC= ${WRKDIR}/${TETEX_SRC}/texk/dvipsk PLIST_SUB= DVIPSDIR=${DVIPSDIR} \ DVIPSCONFIGDIR=${DVIPSCONFIGDIR} \ + DVIPSCONFIGDIR_DIST=${DVIPSCONFIGDIR_DIST} \ MKTEXLSR=${MKTEXLSR} \ TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \ FONTSMAPDIR=${FONTSMAPDIR} \ @@ -83,6 +82,7 @@ TEXMFLOCAL_LSR?=${LOCALBASE}/${TEXMFLOCALDIR}/ls-R FONTSMAPDIR= ${TEXMFDIR}/fonts/map/ptex DVIPSDIR?= ${TEXMFDIR}/dvips/ptex DVIPSCONFIGDIR?=${TEXMFCONFIGDIR}/dvips/ptex +DVIPSCONFIGDIR_DIST?=${TEXMFDIR}/dvips/ptex LIBPNG_PREFIX?= ${LOCALBASE} LIBWWW_PREFIX?= ${LOCALBASE} LIBT1_PREFIX?= ${LOCALBASE} @@ -114,12 +114,15 @@ do-install: ${PREFIX}/bin ${INSTALL_DATA} \ ${FILESDIR}/ptex-kanji.map \ - ${PREFIX}/${FONTSMAPDIR}/dvips/kanji.map + ${PREFIX}/${FONTSMAPDIR}/dvips/psfonts_jp.map + ${RM} -f ${PREFIX}/${FONTSMAPDIR}/../dvips/ptex/psfonts_jp.map + ${RMDIR} ${PREFIX}/${FONTSMAPDIR}/../dvips/ptex ${MKTEXLSR} - ${SH} ${UPDMAP_SYS_PTEX} --enable Map=kanji.map + ${SH} ${UPDMAP_SYS_PTEX} --enable Map=psfonts_jp.map post-install: ${TEXCONFIGBIN} dvips printcmd - ${MKTEXLSR} + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/japanese/dvipsk/pkg-plist b/japanese/dvipsk/pkg-plist index f7cab2cbad35..fff7aae38e50 100644 --- a/japanese/dvipsk/pkg-plist +++ b/japanese/dvipsk/pkg-plist @@ -11,11 +11,14 @@ bin/udvips %%DVIPSDIR%%/base/color.pro %%DVIPSDIR%%/base/crop.pro %%DVIPSDIR%%/base/hps.pro +@unexec %%UPDMAP_SYS_PTEX%% --disable psfonts_jp.map +%%FONTSMAPDIR%%/dvips/psfonts_jp.map %%DVIPSCONFIGDIR%%/config/config.ps +%%DVIPSCONFIGDIR_DIST%%/config/config.ps +@exec %%MKTEXLSR%% +@exec %%UPDMAP_SYS_PTEX%% --enable Map=psfonts_jp.map @dirrm %%DVIPSDIR%%/base @dirrm %%DVIPSCONFIGDIR%%/config -%%FONTSMAPDIR%%/dvips/kanji.map -@exec %%MKTEXLSR%% -@exec %%UPDMAP_SYS_PTEX%% --enable Map=kanji.map -@unexec %%UPDMAP_SYS_PTEX%% --disable kanji.map +@dirrm %%DVIPSCONFIGDIR%% +@dirrm %%DVIPSCONFIGDIR_DIST%%/config @unexec %%MKTEXLSR%% |