aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/sazanami-ttf/Makefile
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-06-19 22:09:28 +0800
committernork <nork@FreeBSD.org>2004-06-19 22:09:28 +0800
commit09856c2542e40eed15d1cd07bc9be86c03757be3 (patch)
treeefafb67fa48f9716c76032bb5e4fd0aac7afadd2 /japanese/sazanami-ttf/Makefile
parentcc5389e2895ae88d0d1320f3a7d81d7a3365551c (diff)
downloadfreebsd-ports-gnome-09856c2542e40eed15d1cd07bc9be86c03757be3.tar.gz
freebsd-ports-gnome-09856c2542e40eed15d1cd07bc9be86c03757be3.tar.zst
freebsd-ports-gnome-09856c2542e40eed15d1cd07bc9be86c03757be3.zip
Add sazanami-ttf 20040618, Free Japanese TrueType fonts named 'Sazanami'.
Submitted by: hrs
Diffstat (limited to 'japanese/sazanami-ttf/Makefile')
-rw-r--r--japanese/sazanami-ttf/Makefile67
1 files changed, 67 insertions, 0 deletions
diff --git a/japanese/sazanami-ttf/Makefile b/japanese/sazanami-ttf/Makefile
new file mode 100644
index 000000000000..d797929956e0
--- /dev/null
+++ b/japanese/sazanami-ttf/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: Sazanami TrueType fonts
+# Date created: 19 June 2004
+# Whom: hrs
+#
+# $FreeBSD$
+#
+
+PORTNAME= sazanami-ttf
+PORTVERSION= 20040618
+CATEGORIES= japanese x11-fonts
+MASTER_SITES= http://downloads.sourceforge.jp/efont/9934/ \
+ ${MASTER_SITE_PORTS_JP}
+DISTNAME= ${PORTNAME:S/-ttf$//}-${PORTVERSION}
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= Free Japanese TrueType fonts named 'Sazanami'
+
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+NO_BUILD= yes
+
+FONTSDIR= lib/X11/fonts/TrueType
+LOCALFONTSDIR= share/fonts/TrueType
+MAKE_ENV= FONTSDIR=${FONTSDIR}
+PLIST_SUB= FONTSDIR=${FONTSDIR} \
+ LOCALFONTSDIR=${LOCALBASE}/${LOCALFONTSDIR}
+
+WRKSRC= ${WRKDIR}/sazanami-${PORTVERSION}
+
+DOC_FILES= README \
+ doc/oradano/README.txt doc/misaki/misakib8.txt \
+ doc/mplus/LICENSE_J doc/shinonome/LICENSE \
+ doc/ayu/README.txt doc/kappa/README
+
+do-install:
+.if !exists(${PREFIX}/${FONTSDIR})
+ @${ECHO} "*********************************************************"
+ @${ECHO} "Please add ${PREFIX}/${FONTSDIR} to your font path"
+ @${ECHO} "and load 'xtt' module in /etc/XF86Config."
+ @${ECHO} "*********************************************************"
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
+.endif
+ ${INSTALL_DATA} ${WRKSRC}/sazanami-gothic.ttf \
+ ${WRKSRC}/sazanami-mincho.ttf \
+ ${FILESDIR}/fonts.dir.sazanami \
+ ${FILESDIR}/fonts.alias.sazanami \
+ ${PREFIX}/${FONTSDIR}
+ ${MKDIR} ${LOCALBASE}/${LOCALFONTSDIR}
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/sazanami-gothic.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/sazanami-gothic.ttf
+ ${LN} -s -f \
+ ${PREFIX}/${FONTSDIR}/sazanami-mincho.ttf \
+ ${LOCALBASE}/${LOCALFONTSDIR}/sazanami-mincho.ttf
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for F in ${DOC_FILES:Mdoc/*}
+ ${MKDIR} ${DOCSDIR}/${F:S,^doc/,,:H}
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}/${F:S,^doc/,,:H}
+.endfor
+.for F in ${DOC_FILES:Ndoc/*}
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
+.endfor
+.endif
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.mk>