1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/x11-fonts/droid-fonts-ttf/Makefile
Olli Hauer 4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00

73 lines
1.9 KiB
Makefile

# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
# $FreeBSD$
PORTNAME= droid-fonts-ttf
PORTVERSION= 20110324
CATEGORIES= x11-fonts
MASTER_SITES= LOCAL/sunpoet/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= The Droid typeface family
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/NOTICE
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
USE_BZIP2= yes
FONTDIR= lib/X11/fonts/Droid
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB= FONTDIR=${FONTDIR}
SUB_FILES= pkg-message
SUB_LIST= FONTDIR=${FONTDIR}
NO_STAGE= yes
do-build:
@cd ${WRKSRC}/ && \
${LOCALBASE}/bin/mkfontscale && \
${LOCALBASE}/bin/mkfontdir
do-install:
${MKDIR} ${PREFIX}/${FONTDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/
post-install:
@${CAT} ${PKGMESSAGE}
# maintainer section:
# http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts
MS_WRKSRC= ${WRKSRC}/${PORTNAME}-${MS_VERSION}
MS_MASTER_SITE= http://android.git.kernel.org/?p=platform/frameworks/base.git\;a=blob_plain\;f=data/fonts
MS_DISTFILES= DroidSans-Bold.ttf \
DroidSans.ttf \
DroidSansArabic.ttf \
DroidSansFallback.ttf \
DroidSansFallbackLegacy.ttf \
DroidSansHebrew.ttf \
DroidSansJapanese.ttf \
DroidSansMono.ttf \
DroidSansThai.ttf \
DroidSerif-Bold.ttf \
DroidSerif-BoldItalic.ttf \
DroidSerif-Italic.ttf \
DroidSerif-Regular.ttf \
NOTICE
.if defined(MS_VERSION)
maketar: do-clean extract
${MKDIR} ${MS_WRKSRC}
.for distfile in ${MS_DISTFILES}
${FETCH_CMD} -o ${MS_WRKSRC}/${distfile} ${MS_MASTER_SITE}/${distfile}
.endfor
cd ${WRKSRC}/ && ${TAR} -jcf ${PORTNAME}-${MS_VERSION}.tar.bz2 ${PORTNAME}-${MS_VERSION}/
${SED} -i '' -e 's|${PORTVERSION}|${MS_VERSION}|' ${.CURDIR}/Makefile
${INSTALL} -m 644 ${WRKSRC}/${PORTNAME}-${MS_VERSION}.tar.bz2 ${DISTDIR}/
cd ${.CURDIR}/ && ${MAKE} makesum
${ECHO_MSG} '*** Update from ${PORTVERSION} to ${MS_VERSION} ***'
.endif
.include <bsd.port.mk>