aboutsummaryrefslogtreecommitdiffstats
path: root/Keywords
diff options
context:
space:
mode:
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/fc.ucl19
-rw-r--r--Keywords/fontsdir.ucl27
2 files changed, 46 insertions, 0 deletions
diff --git a/Keywords/fc.ucl b/Keywords/fc.ucl
new file mode 100644
index 000000000000..73f659fb36d5
--- /dev/null
+++ b/Keywords/fc.ucl
@@ -0,0 +1,19 @@
+# $FreeBSD$
+#
+# MAINTAINER: x11@FreeBSD.org
+
+actions: [dir]
+post-install: <<EOD
+ case "%@" in
+ /*) fontsdir="%@" ;;
+ *) fontsdir="%D/%@" ;;
+ esac
+ fc-cache -fs ${fontsdir} 2>/dev/null || true
+EOD
+post-deinstall: <<EOD
+ case "%@" in
+ /*) fontsdir="%@" ;;
+ *) fontsdir="%D/%@" ;;
+ esac
+ fc-cache -fs ${fontsdir} 2>/dev/null || true
+EOD
diff --git a/Keywords/fontsdir.ucl b/Keywords/fontsdir.ucl
new file mode 100644
index 000000000000..d68b4a73999c
--- /dev/null
+++ b/Keywords/fontsdir.ucl
@@ -0,0 +1,27 @@
+# $FreeBSD$
+#
+# MAINTAINER: x11@FreeBSD.org
+
+actions: [dir]
+post-install: <<EOD
+ case "%@" in
+ /*) fontsdir="%@" ;;
+ *) fontsdir="%D/%@" ;;
+ esac
+ mkfontscale ${fontsdir} 2>/dev/null || true
+ mkfontdir ${fontsdir} 2>/dev/null || true
+EOD
+post-deinstall: <<EOD
+ case "%@" in
+ /*) fontsdir="%@" ;;
+ *) fontsdir="%D/%@" ;;
+ esac
+ mkfontscale ${fontsdir} 2>/dev/null || true
+ if [ -e ${fontsdir}/fonts.scale -a "`stat -f '%%z' ${fontsdir}/fonts.scale 2>/dev/null`" = '2' ]; then
+ rm ${fontsdir}/fonts.scale
+ fi
+ mkfontdir ${fontsdir} 2>/dev/null || true
+ if [ -e ${fontsdir}/fonts.dir -a "`stat -f '%%z' ${fontsdir}/fonts.dir 2>/dev/null`" = '2' ]; then
+ rm ${fontsdir}/fonts.dir
+ fi
+EOD
tions'>-8/+8 * - Update to 20120611sunpoet2012-06-182-3/+3 * KDE/FreeBSD team presents KDE SC 4.8.4, probably the last release in 4.8.x se...makc2012-06-155-6/+18 * - update png to 1.5.10dinoex2012-06-014-2/+4 * - Remove koffice-i18n ports, as they are not very useful withoutavilla2012-05-319-794/+0 * The KDE/FreeBSD team is pleased to announce Calligra Suite 2.4.2, KDEavilla2012-05-3117-502/+151 * KDE/FreeBSD team presents long awaited KDE SC 4.8.3!makc2012-05-258-56/+206 * - Update to 20120503sunpoet2012-05-062-3/+3 * - upgrade to 3.5.2bapt2012-04-237-0/+44 * - Update to 20120312sunpoet2012-03-142-3/+3 * - Bump PORTREVISION to chase the update of multimedia/libvpxashish2012-02-162-0/+2 * The KDE/FreeBSD team is pleased to announce KDE SC 4.7.4, whichavilla2012-01-253-5/+5 * - Update to 20120118sunpoet2012-01-222-3/+3 * - Update to 20120112sunpoet2012-01-132-3/+3 * - Update to 20111225sunpoet2011-12-282-3/+3 * - Update to 20111207sunpoet2011-12-082-3/+3 * - Update to 20111204sunpoet2011-12-072-3/+3 * - Pass maintainership to office@FreeBSD.orgsunpoet2011-11-292-2/+2 * - Update to 20111126sunpoet2011-11-282-3/+3 * - Update to 20111119sunpoet2011-11-212-3/+3 * The KDE on FreeBSD team is pleased to update the KDE4 ports to 4.7.3.rakuco2011-11-142-4/+4 * - Update to 20111102sunpoet2011-11-072-3/+3 * - Update to 20111025sunpoet2011-10-302-3/+3 * The vast majority of pkg-descr files had the following format when theydougb2011-10-241-2/+0 * The KDE/FreeBSD team is pleased to announce KDE Software Compilationavilla2011-10-175-37/+270 * - Update to 20110928sunpoet2011-10-032-3/+3 * - Update to 20110909sunpoet2011-09-192-3/+3 * - Set DIST_SUBDIR: move dist files to DISTDIR/mythessunpoet2011-08-182-2/+3 * - Set DIST_SUBDIR: move dist files to DISTDIR/hyphensunpoet2011-08-182-2/+3 * - Set DIST_SUBDIR: move dist files to DISTDIR/hunspellsunpoet2011-08-182-4/+5 * - Change MASTER_SITES to my LOCAL to avoid implicit change of non-versionedsunpoet2011-08-184-8/+8 * - Update to 20110814sunpoet2011-08-162-3/+3 * - Update to 20110813sunpoet2011-08-152-4/+3 * - Set WRKSRCsunpoet2011-08-131-1/+2 * - Unify COMMENT and pkg-descrsunpoet2011-08-132-2/+2 * - Use WRKSRCsunpoet2011-08-121-1/+1 * Remove WWW entries from unmaintained ports that return 404 or where the domainehaupt2011-08-031-2/+0 * - Move language prefix to PKGNAMEPREFIXsunpoet2011-07-293-29/+29 * - Fix typosunpoet2011-07-251-1/+1 * Pass matainership to the new office teambapt2011-07-223-3/+3 * Add some locales thesaurusbapt2011-07-214-0/+41 * Add Portuguese hyphenation rulesbapt2011-07-214-0/+35 * Add portuguese and bresilian hunspell dictionnarybapt2011-07-204-0/+49 * Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-084-4/+4 * Update KDE Software Compilation ports to 4.6.5makc2011-07-085-5/+195 * - remove MD5ohauer2011-07-031-1/+0 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.4. Read fullavilla2011-06-142-4/+4 * Update KDE Software Compilation ports to 4.6.3makc2011-05-174-4/+102 * - Update KOffice to 2.3.3.avilla2011-04-134-8/+8 * The FreeBSD KDE Team is pleased to announce April updates for KDEavilla2011-04-073-4/+22 * - Update KOffice to 2.3.1.avilla2011-03-258-186/+76 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.1 and KDE PIMavilla2011-03-256-51/+200 * - Get Rid MD5 supportmiwi2011-03-1910-10/+0 * - Remove unnecessary PKGNAMEPREFIX declarationsunpoet2011-01-094-4/+0 * - The KDE FreeBSD team is proud to announce the release of KDE 4.5.5fluffy2011-01-082-4/+4 * KDE FreeBSD team presents KDE SC 4.5.4.makc2010-12-034-12/+4 * KDE FreeBSD team presents KDE SC 4.5.3.makc2010-11-043-6/+8 * Deprecate md5 in favour of sha256 checksums. md5 checksums will no longererwin2010-10-291-1/+1 * KDE FreeBSD team presents KDE SC 4.5.2.makc2010-10-06