freebsd-ports/japanese/addttfont/Makefile
Akinori MUSHA edcf8b3594 Update with the new PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
Now try to use those variables everywhere around DIST* and PATCH*
definitions as far as possible, for ease of the future updates and the
neatness.

Okay, 60% of `japanese' ports have been done. :)
2000-04-11 14:15:53 +00:00

39 lines
949 B
Makefile

# New ports collection makefile for: addttfont
# Date created: 99/06/15
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= addttfont
PORTVERSION= 1.7
CATEGORIES= japanese perl5
MASTER_SITES= http://ftp.infonets.hiroshima-u.ac.jp/~taoka/FreeBSD/tt/
EXTRACT_SUFX= # none
MAINTAINER= taoka@FreeBSD.org
RUN_DEPENDS= mkres.pl:${PORTSDIR}/japanese/p5-mkres \
VTPSfont:${PORTSDIR}/japanese/VTPSfont \
${X11BASE}/lib/X11/ja_JP.EUC/app-defaults/Tgif:${PORTSDIR}/graphics/tgif-nls
USE_PERL5= yes
NO_WRKSUBDIR= yes
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@for file in ${DISTFILES}; do \
${CP} ${DISTDIR}/${DIST_SUBDIR}/$${file} ${WRKSRC}; \
done
do-build:
@cd ${WRKSRC}; ${MV} ${DISTNAME} ${DISTNAME}.orig; \
${SED} -e 's;^#! */usr/bin/perl *;#!${PERL5};' \
${DISTNAME}.orig > ${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${PREFIX}/bin/addttfont
.include <bsd.port.mk>