Index: head/chinese/moefonts-cid/Makefile =================================================================== --- head/chinese/moefonts-cid/Makefile (revision 83565) +++ head/chinese/moefonts-cid/Makefile (revision 83566) @@ -1,36 +1,36 @@ # New ports collection makefile for: MOE CIDFonts # Date created: 3 Mar 2000 # Whom: Jing-Tang Keith Jang # # $FreeBSD$ # PORTNAME= moefonts-cid PORTVERSION= 1.0 PORTREVISION= 2 CATEGORIES= chinese print MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/moefonts-cid/ \ ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/ \ ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/samples/ DISTFILES= MOEKai-Regular MOESung-Regular EXTRACT_ONLY= # empty MAINTAINER= keith@FreeBSD.org COMMENT= MOE CIDFonts converted by Adobe RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu \ ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps NO_BUILD= YES do-install: @${INSTALL_DATA} ${DISTDIR}/MOEKai-Regular \ ${DISTDIR}/MOESung-Regular \ ${FILESDIR}/MOEKai-Regular-ETen-B5-H.gsf \ ${FILESDIR}/MOEKai-Regular-ETen-B5-V.gsf \ ${FILESDIR}/MOESung-Regular-ETen-B5-H.gsf \ ${FILESDIR}/MOESung-Regular-ETen-B5-V.gsf \ ${PREFIX}/share/ghostscript/fonts - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/chinese/moefonts-cid/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/chinese/moefonts-cid/pkg-install =================================================================== --- head/chinese/moefonts-cid/pkg-install (revision 83565) +++ head/chinese/moefonts-cid/pkg-install (revision 83566) @@ -1,15 +1,15 @@ #!/bin/sh -GSVER=7.06 -GSDIR=${PKG_PREFIX}/share/ghostscript +GSVER=`cd ${PORTSDIR}/print/ghostscript-gnu && make -V GS_VERSION` +GSDIR=${PREFIX}/share/ghostscript FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS # Run just once. if [ "x$2" != "xPOST-INSTALL" ]; then exit 0 fi echo "/MOEKai-Regular-ETen-B5-H (MOEKai-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP} echo "/MOEKai-Regular-ETen-B5-V (MOEKai-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP} echo "/MOESung-Regular-ETen-B5-H (MOESung-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP} echo "/MOESung-Regular-ETen-B5-V (MOESung-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP} Property changes on: head/chinese/moefonts-cid/pkg-install ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property