mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
16e2098b87
Submitted by: MITA Yoshio <mita@ee.t.u-tokyo.ac.jp>
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# New ports collection makefile for: jp-vflib
|
|
# Version required: 2.22
|
|
# Date created: 10 May 1996
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
#
|
|
# $Id: Makefile,v 1.4 1996/11/11 10:13:04 max Exp $
|
|
#
|
|
|
|
DISTNAME= VFlib-2.22
|
|
PKGNAME= jp-vflib-2.22
|
|
CATEGORIES= japanese print
|
|
MASTER_SITES= ftp://gull.se.hiroshima-u.ac.jp/pub/VFlib/
|
|
DISTFILES= VFlib-2.22.tar.gz watanabe-vf.tar.Z \
|
|
VFlib-2.22-PATCH-1 VFlib-2.22-PATCH-2
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
|
|
EXTRACT_ONLY= VFlib-2.22.tar.gz
|
|
|
|
post-patch:
|
|
@(cd ${WRKSRC}; \
|
|
uudecode ${DISTDIR}/VFlib-2.22-PATCH-1 ; \
|
|
cd tools ; \
|
|
tar xzf ../ktestdiff.tar.gz ; \
|
|
${PATCH} -s < Imakefile.diff ; \
|
|
${PATCH} -s < ktest.diff ; \
|
|
cd ../src ; \
|
|
${PATCH} -s < ${DISTDIR}/VFlib-2.22-PATCH-2 )
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC}/src; make)
|
|
@(cd ${WRKSRC}/tools; xmkmf; make)
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/lib/VFlib
|
|
@(cd ${WRKSRC}/src; make install)
|
|
@(cd ${WRKSRC}/tools; \
|
|
${INSTALL_PROGRAM} fmtest disol kban ktest vfperf vftest \
|
|
${PREFIX}/lib/VFlib)
|
|
@(cd ${WRKSRC}; \
|
|
${CP} -R doc jTeX COPYING README.txt.JP_EUC vfontcap \
|
|
${PREFIX}/lib/VFlib)
|
|
${MKDIR} ${PREFIX}/share/fonts/watanabe_font
|
|
tar -C ${PREFIX}/share/fonts/watanabe_font \
|
|
-xzf ${DISTDIR}/watanabe-vf.tar.Z
|
|
/sbin/ldconfig -m ${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|