aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2014-06-11 03:15:01 +0800
committerolgeni <olgeni@FreeBSD.org>2014-06-11 03:15:01 +0800
commitbe15c3d1b9501757569d9a9d41644d7fee4e5293 (patch)
tree151570cddc3c58fce8aa16f2b317e0f33d933f00 /x11-fonts
parente4c779c3cf83a43aada7d5e8c60bd354591a9861 (diff)
downloadfreebsd-ports-gnome-be15c3d1b9501757569d9a9d41644d7fee4e5293.tar.gz
freebsd-ports-gnome-be15c3d1b9501757569d9a9d41644d7fee4e5293.tar.zst
freebsd-ports-gnome-be15c3d1b9501757569d9a9d41644d7fee4e5293.zip
Add staging support.
- Use @fontsdir in pkg-plist.
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/lfpfonts-var/Makefile20
-rw-r--r--x11-fonts/lfpfonts-var/pkg-plist189
2 files changed, 102 insertions, 107 deletions
diff --git a/x11-fonts/lfpfonts-var/Makefile b/x11-fonts/lfpfonts-var/Makefile
index 47f7e70f6031..4e3decb7aa3e 100644
--- a/x11-fonts/lfpfonts-var/Makefile
+++ b/x11-fonts/lfpfonts-var/Makefile
@@ -2,30 +2,26 @@
PORTNAME= lfpfonts-var
PORTVERSION= 0.83
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-fonts
MASTER_SITES= SF/xfonts/${PORTNAME}/${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Variable width fonts from the Linux Font Project
-BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
- mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
WRKSRC= ${WRKDIR}/lfpfonts-var
NO_BUILD= yes
-USE_BZIP2= yes
-USE_XORG= x11
+USES= tar:bzip2
-NO_STAGE= yes
-do-install:
- @${MKDIR} ${PREFIX}/lib/X11/fonts/lfpfonts-var
- @${INSTALL_DATA} ${WRKSRC}/lfp-var/*.pcf.gz ${PREFIX}/lib/X11/fonts/lfpfonts-var
- @${INSTALL_DATA} ${WRKSRC}/lfp-var/fonts.dir ${PREFIX}/lib/X11/fonts/lfpfonts-var
+FONTDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
+PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
-post-install:
- @${CAT} ${PKGMESSAGE}
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTDIR}
+ ${INSTALL_DATA} ${WRKSRC}/lfp-var/*.pcf.gz ${STAGEDIR}${FONTDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/lfpfonts-var/pkg-plist b/x11-fonts/lfpfonts-var/pkg-plist
index a2d5ef6699b8..b6045365d526 100644
--- a/x11-fonts/lfpfonts-var/pkg-plist
+++ b/x11-fonts/lfpfonts-var/pkg-plist
@@ -1,95 +1,94 @@
-lib/X11/fonts/lfpfonts-var/fonts.dir
-lib/X11/fonts/lfpfonts-var/lomonosov-v-08-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/lomonosov-v-10-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-b-i-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-b-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-b-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-b-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-b-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-i-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-r-sc-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-r-sc-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-r-sc-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-r-sc.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-05-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-b-i-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-b-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-b-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-b-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-b-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-m-i-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-m-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-m-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-m-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-m-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-07-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-b-i-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-b-i-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-b-i-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-b-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-b-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-b-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-b-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-i-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-i-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-i-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-r-w-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-r-w.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-09-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-b-i-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-b-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-b-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-m-i-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-m-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-m-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-m-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-m-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-10-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-b-i-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-b-i-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-b-i-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-b-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-b-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-b-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-b-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-bb-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-bb-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-m-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-m-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-m-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-12-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-14-b-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-14-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-14-m-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-14-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-18-m-r-ISO8859-1.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-18-m-r-ISO8859-5.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-18-m-r-KOI8-R.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-18-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-alt-05-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-alt-05-m-r-sc.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-alt-05-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-alt-06-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-alt-06-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-alt-08-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-alt-08-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-alt-14-b-i.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-alt-14-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-s-10-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/uniread-v-s-10-m-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/vizing-06-b-r.pcf.gz
-lib/X11/fonts/lfpfonts-var/vizing-06-m-r.pcf.gz
-@dirrm lib/X11/fonts/lfpfonts-var
+%%FONTDIR%%/lomonosov-v-08-m-r.pcf.gz
+%%FONTDIR%%/lomonosov-v-10-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-05-b-i-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-05-b-i.pcf.gz
+%%FONTDIR%%/uniread-v-05-b-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-05-b-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-05-b-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-05-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-i-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-i.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-r-sc-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-r-sc-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-r-sc-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-r-sc.pcf.gz
+%%FONTDIR%%/uniread-v-05-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-07-b-i-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-07-b-i.pcf.gz
+%%FONTDIR%%/uniread-v-07-b-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-07-b-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-07-b-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-07-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-07-m-i-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-07-m-i.pcf.gz
+%%FONTDIR%%/uniread-v-07-m-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-07-m-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-07-m-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-07-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-09-b-i-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-09-b-i-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-09-b-i-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-09-b-i.pcf.gz
+%%FONTDIR%%/uniread-v-09-b-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-09-b-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-09-b-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-09-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-i-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-i-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-i-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-i.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-r-w-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-r-w.pcf.gz
+%%FONTDIR%%/uniread-v-09-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-10-b-i-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-10-b-i.pcf.gz
+%%FONTDIR%%/uniread-v-10-b-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-10-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-10-m-i-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-10-m-i.pcf.gz
+%%FONTDIR%%/uniread-v-10-m-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-10-m-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-10-m-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-10-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-12-b-i-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-12-b-i-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-12-b-i-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-12-b-i.pcf.gz
+%%FONTDIR%%/uniread-v-12-b-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-12-b-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-12-b-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-12-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-12-bb-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-12-bb-r.pcf.gz
+%%FONTDIR%%/uniread-v-12-m-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-12-m-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-12-m-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-12-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-14-b-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-14-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-14-m-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-14-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-18-m-r-ISO8859-1.pcf.gz
+%%FONTDIR%%/uniread-v-18-m-r-ISO8859-5.pcf.gz
+%%FONTDIR%%/uniread-v-18-m-r-KOI8-R.pcf.gz
+%%FONTDIR%%/uniread-v-18-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-alt-05-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-alt-05-m-r-sc.pcf.gz
+%%FONTDIR%%/uniread-v-alt-05-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-alt-06-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-alt-06-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-alt-08-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-alt-08-m-r.pcf.gz
+%%FONTDIR%%/uniread-v-alt-14-b-i.pcf.gz
+%%FONTDIR%%/uniread-v-alt-14-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-s-10-b-r.pcf.gz
+%%FONTDIR%%/uniread-v-s-10-m-r.pcf.gz
+%%FONTDIR%%/vizing-06-b-r.pcf.gz
+%%FONTDIR%%/vizing-06-m-r.pcf.gz
+@fontsdir %%FONTDIR%%