aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-20 02:42:03 +0800
committerbapt <bapt@FreeBSD.org>2015-03-20 02:42:03 +0800
commitbfccd4208fb482e793376a03537c2eeaa3125cde (patch)
treefd533f5755b759eaeb23e8794d39d7e87ffbb40d /x11-fonts
parent4cfeb8e9ea453894a18468b37fdfc42a8d4db490 (diff)
downloadfreebsd-ports-gnome-bfccd4208fb482e793376a03537c2eeaa3125cde.tar.gz
freebsd-ports-gnome-bfccd4208fb482e793376a03537c2eeaa3125cde.tar.zst
freebsd-ports-gnome-bfccd4208fb482e793376a03537c2eeaa3125cde.zip
Convert from XORG_CAT to USES=fonts
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/gentium-plus/Makefile35
-rw-r--r--x11-fonts/gentium-plus/distinfo4
2 files changed, 10 insertions, 29 deletions
diff --git a/x11-fonts/gentium-plus/Makefile b/x11-fonts/gentium-plus/Makefile
index 993fe0fb8af8..86b11f96d356 100644
--- a/x11-fonts/gentium-plus/Makefile
+++ b/x11-fonts/gentium-plus/Makefile
@@ -3,7 +3,7 @@
PORTNAME= GentiumPlus
PORTVERSION= 1.510
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fonts
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=${MEDIA_ID}&filename=/
@@ -14,20 +14,14 @@ LICENSE= OFL11
NO_ARCH= yes
-USES= zip
-XORG_CAT= font
+USES= fonts zip
-FONTLIBPATH= lib/X11/fonts
-FONTPATH= ${PREFIX}/${FONTLIBPATH}/${FONTDIR}
-INSTALLS_TTF= yes
MEDIA_ID= ${DISTNAME}${EXTRACT_SUFX}
NO_BUILD= yes
-USE_TGZ= yes #prevent bsd.xorg.mk from setting USE_BZIP
-PLIST_FILES= ${FONTPATH:S,^${PREFIX}/,,}/${PORTNAME}-I.ttf \
- ${FONTPATH:S,^${PREFIX}/,,}/${PORTNAME}-R.ttf
+PLIST_FILES= ${FONTSDIR}/${PORTNAME}-I.ttf \
+ ${FONTSDIR}/${PORTNAME}-R.ttf
-SUB_LIST= "FONTPATH=${FONTPATH}"
SUB_FILES= pkg-message
DOCSLIST= FONTLOG.txt GENTIUM-FAQ.txt OFL-FAQ.txt OFL.txt README.txt \
@@ -36,23 +30,10 @@ PORTDOCS= ${DOCSLIST:C,^.*/,,}
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.SILENT:
-
-do-configure:
- @${DO_NADA}
-
-do-install: install-fonts install-docs
-
-install-fonts:
- ${MKDIR} ${STAGEDIR}${FONTPATH}
- ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTPATH}
-
-install-docs:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/x11-fonts/gentium-plus/distinfo b/x11-fonts/gentium-plus/distinfo
index 38af0c23ddfd..741b73e43fe4 100644
--- a/x11-fonts/gentium-plus/distinfo
+++ b/x11-fonts/gentium-plus/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xorg/font/GentiumPlus-1.510.zip) = f13622cf85a46c094e671b10152ab2d24913661966f370d340253d7c24c42ccd
-SIZE (xorg/font/GentiumPlus-1.510.zip) = 1992184
+SHA256 (GentiumPlus-1.510.zip) = f13622cf85a46c094e671b10152ab2d24913661966f370d340253d7c24c42ccd
+SIZE (GentiumPlus-1.510.zip) = 1992184