diff options
Diffstat (limited to 'korean/ftghostscript5/Makefile')
-rw-r--r-- | korean/ftghostscript5/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/korean/ftghostscript5/Makefile b/korean/ftghostscript5/Makefile index 9fdcd98b97c3..37e2bb3460ff 100644 --- a/korean/ftghostscript5/Makefile +++ b/korean/ftghostscript5/Makefile @@ -26,18 +26,19 @@ DISTNAME= ${PKGNAME} DISTFILES= ${PCL3_DRV} ${DECRYPT_PDF} ${GS_SOURCES} \ ${VFLIB_GS} ${KFFTYPE} ${KFFTYPE_PATCH} \ ${HFFTYPE} ${GS_CID_PATCH} +EXTRACT_ONLY= ${GS_SOURCES} ${PCL3_DRV} -MAINTAINER= cjh@kr.FreeBSD.org +MAINTAINER= cjh@FreeBSD.org -RUN_DEPENDS= $(LOCALBASE)/share/ghostscript/fonts/CMap:${PORTSDIR}/korean/munhwafonts-cid \ - $(LOCALBASE)/share/ghostscript/fonts:${PORTSDIR}/print/gsfonts +RUN_DEPENDS= $(LOCALBASE)/share/ghostscript/fonts:${PORTSDIR}/print/gsfonts \ + $(LOCALBASE)/share/ghostscript/fonts/CMap:${PORTSDIR}/korean/munhwafonts-cid \ + $(X11BASE)/lib/X11/fonts/TrueType/gulim.ttf:${PORTSDIR}/korean/baekmukfonts-ttf BUILD_DEPENDS= /nonexistent:${PORTSDIR}/graphics/jpeg:extract \ /nonexistent:${PORTSDIR}/graphics/png:extract LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \ ttf.4:${PORTSDIR}/print/freetype -USE_XLIB= yes -EXTRACT_ONLY= ${GS_SOURCES} ${PCL3_DRV} +USE_XLIB= YES WRKSRC= ${WRKDIR}/gs5.10 MAKEFILE= unix-gcc.mak @@ -92,6 +93,11 @@ pre-patch: do-configure: @(cd ${WRKSRC}; ${SH} tar_cat ) +pre-build: + ${SED} -e "s@%%PREFIX%%@${X11BASE}@g" \ + ${FILESDIR}/hconfig.ps.in > \ + ${WRKSRC}/hangul/hconfig.ps + pre-install: @${MKDIR} ${PREFIX}/share/ghostscript ${PREFIX}/bin ${PREFIX}/man/man1 |