aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/profont
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-11 13:06:43 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-11 13:06:43 +0000
commit606a7ea04610ee8da124f1174f91a23ca22e9444 (patch)
treeeda655fd9dd6f69fd8a58cc3c706d83f640eaae3 /x11-fonts/profont
parentacb754c73e7cc4a81383fd7a511db14ed97e979d (diff)
downloadports-606a7ea04610ee8da124f1174f91a23ca22e9444.tar.gz
ports-606a7ea04610ee8da124f1174f91a23ca22e9444.zip
Notes
Diffstat (limited to 'x11-fonts/profont')
-rw-r--r--x11-fonts/profont/Makefile35
-rw-r--r--x11-fonts/profont/distinfo3
-rw-r--r--x11-fonts/profont/pkg-descr4
-rw-r--r--x11-fonts/profont/pkg-plist10
4 files changed, 52 insertions, 0 deletions
diff --git a/x11-fonts/profont/Makefile b/x11-fonts/profont/Makefile
new file mode 100644
index 000000000000..dae806ddc7f9
--- /dev/null
+++ b/x11-fonts/profont/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: profont-x11
+# Date Created: 25 Sep 2008
+# Whom: Manuel Giraud <manuel.giraud@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= profont
+PORTVERSION= 400
+CATEGORIES= x11-fonts
+MASTER_SITES= http://www.tobiasjung.net/dl/
+DISTNAME= ${PORTNAME}-x11
+
+MAINTAINER= manuel.giraud@gmail.com
+COMMENT= Profont - The ultimate programming font.
+
+BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+ fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+FONTDIR= lib/X11/fonts/${PORTNAME}
+PLIST_SUB+= FONTDIR=${FONTDIR}
+
+do-build:
+ ${GZIP_CMD} ${WRKSRC}/*.pcf
+
+do-install:
+ ${MKDIR} ${LOCALBASE}/${FONTDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${LOCALBASE}/${FONTDIR}
+
+post-install:
+ @cd ${LOCALBASE}/${FONTDIR}; mkfontdir
+ @${CP} ${LOCALBASE}/${FONTDIR}/fonts.dir ${LOCALBASE}/${FONTDIR}/fonts.scale || true
+ @command fc-cache -f -v ${LOCALBASE}/${FONTDIR} || true
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/profont/distinfo b/x11-fonts/profont/distinfo
new file mode 100644
index 000000000000..19893eb8d311
--- /dev/null
+++ b/x11-fonts/profont/distinfo
@@ -0,0 +1,3 @@
+MD5 (profont-x11.tar.gz) = c12bc7e730f186e70d61ee242d849b48
+SHA256 (profont-x11.tar.gz) = e8211cc960043e18d55ef686e9502c22ed7015e0bfe0c7ffc97775f33bb93e18
+SIZE (profont-x11.tar.gz) = 23474
diff --git a/x11-fonts/profont/pkg-descr b/x11-fonts/profont/pkg-descr
new file mode 100644
index 000000000000..3dcbc90e3966
--- /dev/null
+++ b/x11-fonts/profont/pkg-descr
@@ -0,0 +1,4 @@
+Profont - The ultimate programming font.
+
+Author: Tobias Jung <postkasten@tobias-jung.de>
+WWW: http://www.tobias-jung.de/seekingprofont/
diff --git a/x11-fonts/profont/pkg-plist b/x11-fonts/profont/pkg-plist
new file mode 100644
index 000000000000..1d654b8af143
--- /dev/null
+++ b/x11-fonts/profont/pkg-plist
@@ -0,0 +1,10 @@
+%%FONTDIR%%/fonts.dir
+%%FONTDIR%%/fonts.scale
+%%FONTDIR%%/ProFont_r400-10.pcf.gz
+%%FONTDIR%%/ProFont_r400-11.pcf.gz
+%%FONTDIR%%/ProFont_r400-12.pcf.gz
+%%FONTDIR%%/ProFont_r400-15.pcf.gz
+%%FONTDIR%%/ProFont_r400-17.pcf.gz
+%%FONTDIR%%/ProFont_r400-22.pcf.gz
+%%FONTDIR%%/ProFont_r400-29.pcf.gz
+@dirrm %%FONTDIR%%