summaryrefslogtreecommitdiff
path: root/x11/xfstt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xfstt/Makefile')
-rw-r--r--x11/xfstt/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11/xfstt/Makefile b/x11/xfstt/Makefile
new file mode 100644
index 00000000000..d01ceb98719
--- /dev/null
+++ b/x11/xfstt/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/09/04 15:49:36 kim Exp $
+#
+
+DISTNAME= xfstt-1.1
+CATEGORIES= x11 net
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=X11/fonts/}
+
+MAINTAINER= packages@netbsd.org
+
+USE_X11BASE= YES
+
+post-patch:
+ @( \
+ cd ${WRKSRC} ; \
+ for i in INSTALL perftest.cpp xfstt.cpp ; \
+ do \
+ ${MV} $$i $$i.bak ; \
+ ${SED} -e 's;@X11BASE@;${X11BASE};' < $$i.bak > $$i ; \
+ done ; \
+ )
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xfstt ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xfstt.1x ${PREFIX}/man/man1/xfstt.1
+ ${MKDIR} ${PREFIX}/share/doc/xfstt
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/xfstt
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/xfstt
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/xfstt
+ ${INSTALL_DATA} ${WRKSRC}/THANKS.txt ${PREFIX}/share/doc/xfstt
+
+.include "../../mk/bsd.pkg.mk"