aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/droid-fonts-ttf/Makefile
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2010-08-22 22:49:17 +0800
committerlwhsu <lwhsu@FreeBSD.org>2010-08-22 22:49:17 +0800
commitc31220d9f0e46ce5fc66c52a0f4f37438875582a (patch)
tree7cd23f2c2416a35af4eec3e585a940e5ead02799 /x11-fonts/droid-fonts-ttf/Makefile
parent7c5032ffab975d06b1919108db5d47aa846c257b (diff)
downloadfreebsd-ports-gnome-c31220d9f0e46ce5fc66c52a0f4f37438875582a.tar.gz
freebsd-ports-gnome-c31220d9f0e46ce5fc66c52a0f4f37438875582a.tar.zst
freebsd-ports-gnome-c31220d9f0e46ce5fc66c52a0f4f37438875582a.zip
Add droid-fonts-ttf 20100214, the Droid typeface family.
PR: ports/148601 Submitted by: Olivier Duchateau <duchateau.olivier at gmail.com>
Diffstat (limited to 'x11-fonts/droid-fonts-ttf/Makefile')
-rw-r--r--x11-fonts/droid-fonts-ttf/Makefile72
1 files changed, 72 insertions, 0 deletions
diff --git a/x11-fonts/droid-fonts-ttf/Makefile b/x11-fonts/droid-fonts-ttf/Makefile
new file mode 100644
index 000000000000..d5615a0c3199
--- /dev/null
+++ b/x11-fonts/droid-fonts-ttf/Makefile
@@ -0,0 +1,72 @@
+# New ports collection makefile for: droid-fonts-ttf
+# Date created: 2010-02-14
+# Whom: Olivier Duchateau <duchateau.olivier@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= droid-fonts-ttf
+PORTVERSION= 20100214
+PORTREVISION= 1
+CATEGORIES= x11-fonts
+MASTER_SITES= http://android.git.kernel.org/?p=platform/frameworks/base.git\;a=blob_plain\;f=data/fonts/:droid
+DISTFILES= DroidSans-Bold.ttf:droid \
+ DroidSans.ttf:droid \
+ DroidSansArabic.ttf:droid \
+ DroidSansFallback.ttf:droid \
+ DroidSansFallbackLegacy.ttf:droid \
+ DroidSansHebrew.ttf:droid \
+ DroidSansJapanese.ttf:droid \
+ DroidSansMono.ttf:droid \
+ DroidSansThai.ttf:droid \
+ DroidSerif-Bold.ttf:droid \
+ DroidSerif-BoldItalic.ttf:droid \
+ DroidSerif-Italic.ttf:droid \
+ DroidSerif-Regular.ttf:droid \
+ NOTICE:droid
+
+MAINTAINER= duchateau.olivier@gmail.com
+COMMENT= The Droid typeface family
+
+BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
+ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+
+LICENSE= ASL
+LICENSE_FILE= ${DISTDIR}/NOTICE
+
+NO_WRKSUBDIR= yes
+
+PLIST_SUB= FONTDIR="${FONTDIR:S|${LOCALBASE}/||}"
+
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_LIST= FONTDIR=${FONTDIR}
+
+FONTNAME= Droid
+FONTDIR= ${LOCALBASE}/lib/X11/fonts/${FONTNAME}
+
+MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
+MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
+
+NO_MTREE= yes
+
+do-extract:
+ @${MKDIR} ${WRKDIR}/ttf
+ @${CP} -p ${DISTDIR}/*.ttf ${WRKDIR}/ttf
+
+do-build:
+ @cd ${WRKDIR}/ttf && \
+ ${MKFONTSCL_CMD} && \
+ ${MKFONTDIR_CMD}
+
+do-install:
+ @${MKDIR} ${FONTDIR}
+ @cd ${WRKDIR} && \
+ ${INSTALL_DATA} ttf/* ${FONTDIR}
+
+post-install:
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.mk>