1999-10-19 08:07:46 +00:00
|
|
|
# New ports collection makefile for: Arphic Chinese TrueType fonts
|
|
|
|
# Date created: 13 Oct 1999
|
1999-11-01 17:53:45 +00:00
|
|
|
# Whom: Keith Jang <keith@freebsd.sinica.edu.tw>
|
1999-10-19 08:07:46 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 08:28:23 +00:00
|
|
|
PORTNAME= arphicttf
|
|
|
|
PORTVERSION= 2.11
|
1999-10-19 08:07:46 +00:00
|
|
|
CATEGORIES= chinese x11-fonts
|
|
|
|
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
|
2000-04-22 11:30:22 +00:00
|
|
|
DISTNAME= ${PKGNAME}
|
1999-10-19 08:07:46 +00:00
|
|
|
|
1999-11-01 17:53:45 +00:00
|
|
|
MAINTAINER= keith@freebsd.sinica.edu.tw
|
1999-10-19 08:07:46 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= font.1:${PORTSDIR}/x11-servers/XttXF86srv-common
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
SHAREMODE= 644
|
2000-01-23 14:09:13 +00:00
|
|
|
WRKSRC= ${WRKDIR}/arphic
|
1999-10-19 08:07:46 +00:00
|
|
|
FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.if !exists(${FONTDIR})
|
|
|
|
@${ECHO} "========================================================="
|
|
|
|
@${ECHO} "Please add ${FONTDIR} to your font path"
|
|
|
|
@${ECHO} "in /etc/XF86Config."
|
|
|
|
@${ECHO} "========================================================="
|
|
|
|
@${MKDIR} ${FONTDIR}
|
|
|
|
.endif
|
2000-01-23 14:09:13 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/font/bkai00mp.ttf ${FONTDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/font/bsmi00lp.ttf ${FONTDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/font/gbsn00lp.ttf ${FONTDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/font/gkai00mp.ttf ${FONTDIR}
|
|
|
|
@${RM} -fr ${FONTDIR}/arphic
|
|
|
|
@${MKDIR} ${FONTDIR}/arphic
|
|
|
|
@${CP} -fr ${WRKSRC}/license ${FONTDIR}/arphic
|
|
|
|
@${CP} -f ${WRKSRC}/logo.gif ${WRKSRC}/release.txt ${FONTDIR}/arphic
|
2000-10-08 10:23:48 +00:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
1999-10-19 08:07:46 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|