aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/msttf
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/msttf')
-rw-r--r--chinese/msttf/Makefile72
-rw-r--r--chinese/msttf/distinfo3
-rw-r--r--chinese/msttf/pkg-deinstall24
-rw-r--r--chinese/msttf/pkg-descr4
-rw-r--r--chinese/msttf/pkg-install28
-rw-r--r--chinese/msttf/pkg-plist5
6 files changed, 0 insertions, 136 deletions
diff --git a/chinese/msttf/Makefile b/chinese/msttf/Makefile
deleted file mode 100644
index f2986ccc5712..000000000000
--- a/chinese/msttf/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# Created by: LI Dong <ld@FreeBSD.org.cn>
-# $FreeBSD$
-
-PORTNAME= msttf
-PORTVERSION= 1.0
-PORTREVISION= 2
-CATEGORIES= chinese x11-fonts
-MASTER_SITES= #
-DISTFILES= ${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}
-DIST_SUBDIR= msttf
-EXTRACT_ONLY= # none
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Three TrueType fonts from Microsoft Windows(TM) 2000/XP
-
-BROKEN= no distinfo provided
-
-RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm
-
-MSTTF_SIMHEI= simhei.ttf
-MSTTF_SIMSUN= simsun.ttc
-MSTTF_TAHOMA= tahoma.ttf
-
-RESTRICTED= Redistribution of pre-compiled binaries is not permitted
-
-NO_BUILD= yes
-SHAREMODE= 644
-NO_WRKSUBDIR= yes
-USE_XORG= x11
-FONTDIR= ${PREFIX}/share/fonts/TrueType
-XFONTDIR= ${LOCALBASE}/lib/X11/fonts/TrueType
-INSTALL_ENV= PKG_PREFIX=${PREFIX} XFREE86_VERSION=${XFREE86_VERSION} \
- WANT_GS=${WANT_GS} WITHOUT_X=${WITHOUT_X}
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if !exists(${DISTDIR}/${DIST_SUBDIR}/${MSTTF_SIMHEI})
-IGNORE= Because of licensing restrictions, you must copy the three TrueType \
- fonts from your copy of Microsoft Windows(TM) 2000/XP manually. End \
- user can use these fonts freely in his/her own computers. Please \
- place these fonts in ${DISTDIR}/${DIST_SUBDIR}. \
- Fonts: ${MSTTF_SIMHEI} of ${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}
-
-.endif
-
-.if !exists(${DISTDIR}/${DIST_SUBDIR}/${MSTTF_SIMSUN})
-IGNORE= Because of licensing restrictions, you must copy the three \
- TrueType fonts from your copy of Microsoft Windows(TM) \
- 2000/XP manually. End user can use these fonts freely in \
- his/her own computers. Please place these fonts in \
- ${DISTDIR}/${DIST_SUBDIR}. \
- Fonts: ${MSTTF_SIMSUN} of ${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}\n
-.endif
-
-.if !exists(${DISTDIR}/${DIST_SUBDIR}/${MSTTF_TAHOMA})
-IGNORE= Because of licensing restrictions, you must copy the three \
- TrueType fonts from your copy of Microsoft Windows(TM) \
- 2000/XP manually. End user can use these fonts freely in \
- his/her own computers. Please place these fonts in \
- ${DISTDIR}/${DIST_SUBDIR}. \
- Fonts: ${MSTTF_TAHOMA} of ${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}\n
-.endif
-
-do-install:
- @${MKDIR} ${FONTDIR}
- @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MSTTF_SIMHEI} ${FONTDIR}
- @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MSTTF_SIMSUN} ${FONTDIR}
- @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MSTTF_TAHOMA} ${FONTDIR}
- @${SETENV} ${INSTALL_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
-.include <bsd.port.post.mk>
diff --git a/chinese/msttf/distinfo b/chinese/msttf/distinfo
deleted file mode 100644
index c3640486dfcf..000000000000
--- a/chinese/msttf/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-SHA256 (msttf/simhei.ttf) = IGNORE
-SHA256 (msttf/simsun.ttc) = IGNORE
-SHA256 (msttf/tahoma.ttf) = IGNORE
diff --git a/chinese/msttf/pkg-deinstall b/chinese/msttf/pkg-deinstall
deleted file mode 100644
index 592e404e0203..000000000000
--- a/chinese/msttf/pkg-deinstall
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-if [ "$2" != "DEINSTALL" ]; then
- exit 0
-fi
-
-PKGNAME=$1
-PREFIX=${PKG_PREFIX}
-TTFM=${PKG_PREFIX}/bin/ttfm.sh
-
-FONTDIR=${PREFIX}/share/fonts/TrueType
-FONTS="simhei.ttf simsun.ttc tahoma.ttf"
-
-if [ -r $FONTDIR/$PKGNAME ]; then
- for i in `cat $FONTDIR/$PKGNAME`; do
- for f in $FONTS; do
- $TTFM --remove $i $f
- done
- done
-fi
-
-rm -f $FONTDIR/$PKGNAME
-
-exit 0
diff --git a/chinese/msttf/pkg-descr b/chinese/msttf/pkg-descr
deleted file mode 100644
index 1323245d0833..000000000000
--- a/chinese/msttf/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Three TrueType fonts from Microsoft Windows(TM) 2000/XP.
-Because of licensing restrictions, you must copy the three TrueType
-fonts from your copy of Microsoft Windows(TM) 2000/XP manually. End
-user can use these fonts freely in his/her own computers.
diff --git a/chinese/msttf/pkg-install b/chinese/msttf/pkg-install
deleted file mode 100644
index d34cb82d4e9d..000000000000
--- a/chinese/msttf/pkg-install
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-if [ "$2" = "PRE-INSTALL" ]; then
- exit 0
-fi
-
-PKGNAME=$1
-PREFIX=${PKG_PREFIX}
-TTFM=${PREFIX}/bin/ttfm.sh
-
-FONTDIR=${PREFIX}/share/fonts/TrueType
-FONTS="simhei.ttf simsun.ttc tahoma.ttf"
-
-if [ ! -x $TTFM ]; then
- echo "$TTFM not found!"
- exit 1
-fi
-
-rm -f $FONTDIR/$PKGNAME
-
-if [ "X$WITHOUT_X" = "X" ]; then
- for f in $FONTS; do
- $TTFM --add xttfm $FONTDIR/$f
- done
- echo "xttfm" >> $FONTDIR/$PKGNAME
-fi
-
-exit 0
diff --git a/chinese/msttf/pkg-plist b/chinese/msttf/pkg-plist
deleted file mode 100644
index 4df0d5dd603e..000000000000
--- a/chinese/msttf/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-share/fonts/TrueType/simhei.ttf
-share/fonts/TrueType/simsun.ttc
-share/fonts/TrueType/tahoma.ttf
-@dirrmtry share/fonts/TrueType
-@dirrmtry share/fonts