blob: 0cf7026433ec280d7450a7363452cd1240b56051 (
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
|
# $NetBSD: Makefile,v 1.12 2013/04/06 13:24:19 rodent Exp $
.include "Makefile.common"
PKGNAME= ja-vflib-lib-${VFLIB_VERSION}
PKGREVISION= 3
COMMENT= Japanese Vector font library
BUILD_TARGET= build-src
INSTALL_TARGET= install-src
USE_TOOLS+= pax
post-build:
.for file in vfontcap vfontcap.bdf
cd ${WRKSRC}; \
${MV} ${file} ${file}.orig; \
${SED} -e "s|/usr/local/share/fonts|${PREFIX}/share/fonts|g" \
${file}.orig > ${file}; \
${RM} ${file}.orig
.endfor
post-install:
${MV} ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION}/VF.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION}
cd ${WRKSRC} && ${INSTALL_DATA} COPYING COPYING.LIB README.txt.JP_EUC \
${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION}
cd ${WRKSRC} && pax -rw jTeX ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION}
${FIND} ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION} -type d -print \
-exec ${CHMOD} ${PKGDIRMODE} {} \;
${FIND} ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION} -type f -print \
-exec ${CHMOD} ${SHAREMODE} {} \;
.include "../../mk/bsd.pkg.mk"
|