1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/x11-fonts/gentium-plus/Makefile
Matthew Seaman 9183a5e528 Rework the gentium and gentium-basic font ports
- Rename gentium to gentium-plus tracking upstream changes
  - Use the generic facilities provided in bsd.xorg.mk for handling
    font installation, rather than rolling our own.  This allows
    removing files/fonts.dir from both ports.
  - Add LICENSE, and so modify pkg-message not to mention licensing
  - Use PLIST_FILES and PORTDOCS rather than a separate pkg-plist file
2012-12-15 22:05:36 +00:00

61 lines
1.3 KiB
Makefile

# Created by: Matthew Seaman
# $FreeBSD$
PORTNAME= GentiumPlus
PORTVERSION= 1.510
CATEGORIES= x11-fonts
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=${MEDIA_ID}&filename=/
MAINTAINER= matthew@FreeBSD.org
COMMENT= Gentium Plus TrueType font collection
LICENSE= OFL
LICENSE_NAME= SIL Open Font License (OFL)
LICENSE_FILE= ${WRKSRC}/OFL.txt
LICENSE_PERMS= auto-accept
USE_ZIP= yes
XORG_CAT= font
FONTLIBPATH= lib/X11/fonts
FONTROOTDIR= ${PREFIX}/${FONTLIBPATH}
INSTALLS_TTF= yes
MEDIA_ID= ${DISTNAME}${EXTRACT_SUFX}
NO_BUILD= yes
USE_TGZ= yes #prevent bsd.xorg.mk from setting USE_BZIP
PLIST_FILES= ${FONTLIBPATH}/${FONTDIR}/${PORTNAME}-I.ttf \
${FONTLIBPATH}/${FONTDIR}/${PORTNAME}-R.ttf
SUB_LIST= "FONTPATH=${FONTROOTDIR}/${FONTDIR}"
SUB_FILES= pkg-message
DOCSLIST= FONTLOG.txt GENTIUM-FAQ.txt OFL-FAQ.txt OFL.txt README.txt \
documentation/GentiumPlus-features.pdf
PORTDOCS= ${DOCSLIST:C,^.*/,,}
.include <bsd.port.options.mk>
.SILENT:
do-configure:
@${DO_NADA}
do-install: install-fonts install-docs
${ECHO_MSG}
${CAT} ${PKGMESSAGE}
${ECHO_MSG}
install-fonts:
${MKDIR} ${FONTROOTDIR}/${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTROOTDIR}/${FONTDIR}
install-docs:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>