blob: 7c5ee48815cb85f24726dd3236a29a6b4ddb51f2 (
plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# $NetBSD: Makefile,v 1.4 1999/09/21 10:41:58 sakamoto Exp $
# FreeBSD Id: Makefile,v 1.20 1999/05/03 01:58:33 steve Exp $
DISTNAME= VFlib2-2.24.2
PKGNAME= ja-vflib-2.24.2
CATEGORIES= japanese print
MASTER_SITES= ftp://gull.se.hiroshima-u.ac.jp/pub/TypeHack/ \
ftp://ftp.kuis.kyoto-u.ac.jp/TeX/watanabe-jfonts/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} watanabe-vf${EXTRACT_SUFX}
MAINTAINER= tech-pkg-ja@jp.netbsd.org
HOMEPAGE= http://TypeHack.aial.hiroshima-u.ac.jp/VFlib/
DEPENDS= freetype-1.1:../../graphics/freetype
VFLIB_VERSION= 2.24.2
PLIST_SUBST+= VFLIB_VERSION=${VFLIB_VERSION} \
VFLIB_SO_VERSION=${VFLIB_VERSION:C/^2.//}
USE_X11= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-freetype \
--with-freetype-includedir=${LOCALBASE}/include \
--with-freetype-libdir=${LOCALBASE}/lib
MAKE_ENV+= LOCAL_LDFLAGS="${LDFLAGS}"
post-configure:
@${RM} -r ${WRKSRC}/libtool
@${LN} -s ${LIBTOOL} ${WRKSRC}/libtool
post-build:
.for f in vfontcap vfontcap.bdf
@(cd ${WRKSRC}; \
${MV} ${f} ${f}.orig; \
${SED} -e 's|\$${PREFIX}|${PREFIX}|g' ${f}.orig > ${f}; \
${RM} ${f}.orig)
.endfor
pre-install:
@(cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/VFlib/${VFLIB_VERSION} ;\
${CP} COPYING COPYING.LIB README.txt.JP_EUC \
${PREFIX}/share/VFlib/${VFLIB_VERSION} ;\
${CP} -R jTeX ${PREFIX}/share/VFlib/${VFLIB_VERSION})
@${MKDIR} ${PREFIX}/share/fonts/watanabe_font
@${GTAR} -C ${PREFIX}/share/fonts/watanabe_font \
-xzf ${DISTDIR}/watanabe-vf${EXTRACT_SUFX}
post-install:
${MV} ${PREFIX}/share/VFlib/${VFLIB_VERSION}/VF.h ${PREFIX}/include
.include "../../mk/bsd.pkg.mk"
|