blob: 848d10d01f04795c297a27a8ccf6916ca9d4b706 (
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
|
# $NetBSD: Makefile,v 1.5 2001/02/17 17:06:51 wiz Exp $
#
DISTNAME= type1inst-0.6.1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SUNSITE:=X11/xutils/}
MAINTAINER= groo@netbsd.org
COMMENT= Automatically generate fonts.scale/fonts.dir for Type1 fonts
USE_PERL5= yes
USE_X11BASE= yes
post-patch:
@for patchee in ${WRKSRC}/type1inst ${WRKSRC}/t1embed; do \
${MV} -f $$patchee ${WRKSRC}/foo ; \
${SED} -e 's@XXXPERLXXX@${PERL5}@g' \
<${WRKSRC}/foo > $$patchee ; \
done
@${RM} -f ${WRKSRC}/foo
do-build:
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/type1inst ${X11PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/t1embed ${X11PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/type1inst.man ${X11PREFIX}/man/man1/type1inst.1
@${MKDIR} ${X11PREFIX}/share/doc/type1inst
@${INSTALL_DATA} ${WRKSRC}/README ${X11PREFIX}/share/doc/type1inst
.include "../../mk/bsd.pkg.mk"
|