diff options
Diffstat (limited to 'korean/unfonts-ttf/Makefile')
-rw-r--r-- | korean/unfonts-ttf/Makefile | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/korean/unfonts-ttf/Makefile b/korean/unfonts-ttf/Makefile index 73169f9f4ef9..a7568d2c2e34 100644 --- a/korean/unfonts-ttf/Makefile +++ b/korean/unfonts-ttf/Makefile @@ -5,42 +5,25 @@ # $FreeBSD$ PORTNAME= unfonts -PORTVERSION= 20030907 -PORTREVISION= 1 +PORTVERSION= 1.0 CATEGORIES= korean x11-fonts -MASTER_SITES= ${MASTER_SITE_LOCAL} \ - http://people.freebsd.org/~perky/distfiles/ -MASTER_SITE_SUBDIR= perky +MASTER_SITES= http://kldp.net/download.php/1425/:core \ + http://kldp.net/download.php/1435/:extra PKGNAMESUFFIX= -ttf -DISTNAME= UnFonts${PKGNAMESUFFIX}-${PORTVERSION} - -PATCH_SITES= ${MASTER_SITES} -PATCHFILES= UnFonts-ooofontname-patch.tar.gz +DISTFILES= un-fonts-core-${PORTVERSION}.tar.gz:core \ + un-fonts-extra-${PORTVERSION}.tar.gz:extra MAINTAINER= perky@FreeBSD.org COMMENT= GPL'd Korean TrueType Fonts by UN Koaunghi -PATCH_DEPENDS= bspatch:${PORTSDIR}/misc/bsdiff - +WRKSRC= ${WRKDIR}/un-fonts USE_X_PREFIX= yes -USE_BZIP2= yes NO_BUILD= yes FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType -FONTLIST= UnBatang UnBatangBold UnBom UnDotum UnDotumBold UnGraphic \ - UnGungseo UnPen UnPenheulim UnPilgi UnPilgiBold UnShinmun \ - UnYetgul - -post-extract: - ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/UnFonts-ooofontname-patch.tar.gz - -do-patch: - cd ${WRKSRC} && for FONTNAME in ${FONTLIST}; do \ - if [ -f $$FONTNAME-ooofontname.diff ]; then \ - ${CP} $$FONTNAME.ttf $$FONTNAME.orig.ttf; \ - ${LOCALBASE}/bin/bspatch $$FONTNAME.orig.ttf \ - $$FONTNAME.ttf $$FONTNAME-ooofontname.diff; \ - fi; \ - done +FONTLIST= UnBatang UnBatangBold UnBom UnDotum UnDotumBold \ + UnGraphic UnGraphicBold UnGungseo UnJamoBatang \ + UnJamoDotum UnJamoNovel UnJamoSora UnPen UnPenheulim \ + UnPilgi UnPilgiBold UnShinmun UnTaza UnYetgul do-install: ${MKDIR} ${FONTDIR} |