2013-03-18 22:56:30 +01:00
|
|
|
# Created by: LI Dong <ld@FreeBSD.org.cn>
|
2005-06-08 15:06:50 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= msttf
|
|
|
|
PORTVERSION= 1.0
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
PORTREVISION= 2
|
2005-06-08 15:06:50 +02:00
|
|
|
CATEGORIES= chinese x11-fonts
|
|
|
|
MASTER_SITES= #
|
|
|
|
DISTFILES= ${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}
|
|
|
|
DIST_SUBDIR= msttf
|
|
|
|
EXTRACT_ONLY= # none
|
|
|
|
|
2008-03-01 15:59:38 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-06-08 15:06:50 +02:00
|
|
|
COMMENT= Three TrueType fonts from Microsoft Windows(TM) 2000/XP
|
|
|
|
|
|
|
|
RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm
|
|
|
|
|
|
|
|
MSTTF_SIMHEI= simhei.ttf
|
|
|
|
MSTTF_SIMSUN= simsun.ttc
|
|
|
|
MSTTF_TAHOMA= tahoma.ttf
|
|
|
|
|
|
|
|
IGNOREFILES= ${MSTTF_SIMHEI} ${MSTTF_SIMSUN} ${MSTTF_TAHOMA}
|
2013-03-18 22:56:30 +01:00
|
|
|
RESTRICTED= Redistribution of pre-compiled binaries is not permitted
|
2005-06-08 15:06:50 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
SHAREMODE= 644
|
|
|
|
NO_WRKSUBDIR= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
2005-06-08 15:06:50 +02:00
|
|
|
FONTDIR= ${PREFIX}/share/fonts/TrueType
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
XFONTDIR= ${LOCALBASE}/lib/X11/fonts/TrueType
|
2005-06-08 15:06:50 +02:00
|
|
|
INSTALL_ENV= PKG_PREFIX=${PREFIX} XFREE86_VERSION=${XFREE86_VERSION} \
|
|
|
|
WANT_GS=${WANT_GS} WITHOUT_X=${WITHOUT_X}
|
|
|
|
|
2013-09-20 18:01:22 +02:00
|
|
|
NO_STAGE= yes
|
2005-06-08 15:06:50 +02:00
|
|
|
.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>
|