d32e698de6
XXX need to teach pkglint to be more picky about this
31 lines
878 B
Makefile
31 lines
878 B
Makefile
# $NetBSD: Makefile,v 1.6 2001/02/25 04:18:28 hubertf 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
|
|
@${INSTALL_DATA_DIR} ${X11PREFIX}/share/doc/type1inst
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${X11PREFIX}/share/doc/type1inst
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|