mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
3e4ed01146
- 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)
59 lines
1.4 KiB
Makefile
59 lines
1.4 KiB
Makefile
# New ports collection makefile for: texcm-ttf
|
|
# Date created: 6 March 2005
|
|
# Whom: Thierry Thomas <thierry@pompo.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= texcm-ttf
|
|
PORTVERSION= 20010117
|
|
PORTREVISION= 3
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= http://www.mozilla.org/projects/mathml/fonts/bakoma/
|
|
DISTFILES= ${PORTNAME}${EXTRACT_SUFX} license.txt
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_ONLY= ${PORTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= TeX's Computer Modern Fonts
|
|
|
|
BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
|
|
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
|
|
|
|
NO_CDROM= cannot be sold or distributed with any commercial product
|
|
|
|
USE_ZIP= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= FONTSDIR="${FONTSDIR}"
|
|
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
|
REINPLACE_ARGS= -i ""
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
FONTNAME= ${PORTNAME}
|
|
FONTSDIR= ${PREFIX}/lib/X11/fonts/${FONTNAME}
|
|
|
|
MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
|
|
MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${MKFONTSCL_CMD}
|
|
cd ${WRKSRC} && ${MKFONTDIR_CMD}
|
|
.for f in fonts.dir fonts.scale
|
|
${REINPLACE_CMD} -e 's|-misc-|-texcm-|' ${WRKSRC}/${f}
|
|
.endfor
|
|
|
|
do-install:
|
|
${MKDIR} ${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/* ${FONTSDIR}
|
|
${INSTALL_DATA} ${_DISTDIR}/license.txt ${FONTSDIR} # Required by the license
|
|
|
|
post-install:
|
|
@${ECHO_MSG}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_MSG}
|
|
|
|
.include <bsd.port.mk>
|