aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/vflib/Makefile
blob: 5b3f7030bc2d1f35da9db62053a856d402ee2a8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    vflib + FreeType
# Version required: 2.22 Patchlevel 10
# Date created:     10 May 1996
# Whom:         Mita Yoshio <mita@jp.FreeBSD.org>
#
# $Id: Makefile,v 1.15 1998/09/09 08:39:05 max Exp $
#

DISTNAME=   VFlib-2.23-PL1
PKGNAME=    ja-vflib-2.23.1
CATEGORIES= japanese print
MASTER_SITES=   ftp://gull.se.hiroshima-u.ac.jp/pub/TypeHack/
DISTFILES=  TypeHack-19980625.tar.gz watanabe-vf.tar.Z

MAINTAINER= mita@jp.FreeBSD.org

LIB_DEPENDS=    ttf.2:${PORTSDIR}/print/freetype

EXTRACT_ONLY=   TypeHack-19980625.tar.gz
WRKSRC=     ${WRKDIR}/TypeHack-19980625/VFlib2-2.23.1
GNU_CONFIGURE=  yes
USE_AUTOCONF=   yes

post-install:
    @(cd ${WRKSRC}/tools; \
        ${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${PREFIX}/bin)
    ${MKDIR} ${PREFIX}/share/doc/VFlib2-2.23.1
    @(cd ${WRKSRC}; \
      ${CP} -R doc COPYING COPYING.LIB README.txt.JP_EUC \
        ${PREFIX}/share/doc/VFlib2-2.23.1)
    @(cd ${WRKSRC}; \
      ${CP} -R jTeX ${PREFIX}/share/VFlib/2.23.1)
    ${MKDIR} ${PREFIX}/share/fonts/watanabe_font
    tar -C ${PREFIX}/share/fonts/watanabe_font \
      -xzf ${DISTDIR}/watanabe-vf.tar.Z
    ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>