aboutsummaryrefslogtreecommitdiff
path: root/korean/unfonts-ttf/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-09-01 06:03:49 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-09-01 06:03:49 +0000
commitf3c2b5b220b07b542c9bd8794748af3b96c07f0d (patch)
tree3f1ef2adea2aeee37fde8e4c2c0c1f445366530d /korean/unfonts-ttf/Makefile
parenta638bf5813b8710e4d4a810a89c5a729c631075c (diff)
downloadports-f3c2b5b220b07b542c9bd8794748af3b96c07f0d.tar.gz
ports-f3c2b5b220b07b542c9bd8794748af3b96c07f0d.zip
Notes
Diffstat (limited to 'korean/unfonts-ttf/Makefile')
-rw-r--r--korean/unfonts-ttf/Makefile37
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}