aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-05-31 17:17:46 +0800
committertrevor <trevor@FreeBSD.org>2002-05-31 17:17:46 +0800
commit384bf2e850c2575e25319e6ce3877abf43be7f50 (patch)
tree0f9f1ae979b64ba4590b55bc93333018ba303479 /x11-fonts
parent4f0817fe0864ba05e0964d77fe94b3fd86e0f6a2 (diff)
downloadfreebsd-ports-gnome-384bf2e850c2575e25319e6ce3877abf43be7f50.tar.gz
freebsd-ports-gnome-384bf2e850c2575e25319e6ce3877abf43be7f50.tar.zst
freebsd-ports-gnome-384bf2e850c2575e25319e6ce3877abf43be7f50.zip
new port of the fonts from the SGI ProPack 1.4 for Linux, from a
suggestion by Ryan Dooley
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/sgifonts/Makefile56
-rw-r--r--x11-fonts/sgifonts/distinfo2
-rw-r--r--x11-fonts/sgifonts/pkg-comment1
-rw-r--r--x11-fonts/sgifonts/pkg-descr3
5 files changed, 63 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index c372ef4c75e7..1783a559ca40 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -28,6 +28,7 @@
SUBDIR += p5-Font-AFM
SUBDIR += p5-Font-TTF
SUBDIR += p5-type1inst
+ SUBDIR += sgifonts
SUBDIR += sharefonts
SUBDIR += tkfont
SUBDIR += ttmkfdir
diff --git a/x11-fonts/sgifonts/Makefile b/x11-fonts/sgifonts/Makefile
new file mode 100644
index 000000000000..a054e2509b6d
--- /dev/null
+++ b/x11-fonts/sgifonts/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: sgifonts
+# Date created: 2002-05-31
+# Whom: trevor
+#
+# $FreeBSD$
+#
+
+PORTNAME= sgifonts
+PORTVERSION= 1.0.1
+CATEGORIES= x11-fonts
+MASTER_SITES= ftp://oss.sgi.com/projects/sgilinux-combined/download/sgipropack1.4/MNT-INSTALL/SGI/SRPMS/
+DISTNAME= sgi-fonts-1.0-1.src
+EXTRACT_SUFX= .rpm
+
+MAINTAINER= trevor@FreeBSD.org
+
+BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm
+
+PLIST= ${WRKDIR}/pkg-plist
+PKGMESSAGE= ${WRKDIR}/pkg-message
+USE_IMAKE= yes
+WRKSRC= ${WRKDIR}/sgi-fonts
+
+do-extract:
+ ${MKDIR} ${WRKDIR}
+ rpm2cpio ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} \
+ > ${WRKDIR}/sgifonts.cpio
+ cd ${WRKDIR}; \
+ cpio --extract --no-preserve-owner \
+ --preserve-modification-time --unconditional --verbose \
+ < ${WRKDIR}/sgifonts.cpio
+ ${TAR} -C ${WRKDIR} -xf ${WRKDIR}/sgi-fonts.tar.gz
+
+pre-install:
+ ${RM} -f ${PLIST}
+ cd ${WRKSRC}; for ii in `${LS} *gz fonts.alias fonts.dir | sort`; do \
+ ${ECHO_CMD} lib/X11/fonts/sgi/$${ii} >> ${PLIST}; \
+ done
+ ${ECHO_CMD} lib/X11/fonts/sgi/fonts.dir >> ${PLIST}
+ ${ECHO_CMD} @dirrm lib/X11/fonts/sgi >> ${PLIST}
+ ${ECHO_CMD} "******************************************" > ${PKGMESSAGE}
+ ${ECHO_CMD} "Add a line" >> ${PKGMESSAGE}
+ ${ECHO_CMD} "FontPath \"${PREFIX}/lib/X11/fonts/sgi\"" >> ${PKGMESSAGE}
+ ${ECHO_CMD} \
+ "to your XF86Config and restart the X server or do \"xset fp rehash\"."\
+ >> ${PKGMESSAGE}
+ ${ECHO_CMD} "*****************************************" >> ${PKGMESSAGE}
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/X11/fonts/sgi
+ cd ${WRKSRC}; \
+ ${INSTALL_DATA} *gz fonts.alias fonts.dir \
+ ${PREFIX}/lib/X11/fonts/sgi
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/sgifonts/distinfo b/x11-fonts/sgifonts/distinfo
new file mode 100644
index 000000000000..145aad49898a
--- /dev/null
+++ b/x11-fonts/sgifonts/distinfo
@@ -0,0 +1,2 @@
+$FreeBSD$
+MD5 (sgi-fonts-1.0-1.src.rpm) = a98655922ee624a7aa8fdae161afdfa9
diff --git a/x11-fonts/sgifonts/pkg-comment b/x11-fonts/sgifonts/pkg-comment
new file mode 100644
index 000000000000..003ab1987778
--- /dev/null
+++ b/x11-fonts/sgifonts/pkg-comment
@@ -0,0 +1 @@
+Fonts from the SGI ProPack 1.4 for Linux
diff --git a/x11-fonts/sgifonts/pkg-descr b/x11-fonts/sgifonts/pkg-descr
new file mode 100644
index 000000000000..2fef1cb2f4ac
--- /dev/null
+++ b/x11-fonts/sgifonts/pkg-descr
@@ -0,0 +1,3 @@
+These are the fonts from the SGI ProPack for Linux.
+
+WWW: http://oss.sgi.com/projects/sgilinux-combined/