pkgsrc/x11/xfstt/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2004/12/28 02:47:52 reed Exp $
2000-09-04 17:49:36 +02:00
#
DISTNAME= xfstt-1.6
PKGREVISION= 2
CATEGORIES= x11 net fonts
MASTER_SITES= http://download.berlios.de/xfstt/
2000-09-04 17:49:36 +02:00
2003-07-18 00:50:55 +02:00
MAINTAINER= tech-pkg@NetBSD.org
2003-12-20 11:42:45 +01:00
HOMEPAGE= http://developer.berlios.de/projects/xfstt/
COMMENT= TrueType font server for X11
2000-09-04 17:49:36 +02:00
USE_PKGINSTALL= YES
2000-09-04 17:49:36 +02:00
USE_X11BASE= YES
USE_GNU_TOOLS+= make
GNU_CONFIGURE= YES
# There isn't really any l10n yet, only some preliminary i18n support.
CONFIGURE_ARGS+= --disable-nls
CXXFLAGS+= -fomit-frame-pointer -ffast-math
2000-09-04 17:49:36 +02:00
RCD_SCRIPTS= xfstt
2000-09-04 17:49:36 +02:00
post-patch:
@( \
cd ${WRKSRC} ; \
for f in src/perftest.cc src/xfstt.cc doc/xfstt.1x; \
2000-09-04 17:49:36 +02:00
do \
${MV} $$f $$f.orig ; \
${SED} ${FILES_SUBST_SED} $$f.orig > $$f ; \
2000-09-04 17:49:36 +02:00
done ; \
)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xfstt ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/xfstt.1x ${PREFIX}/man/man1/xfstt.1
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/TTF
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xfstt
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xfstt
cd ${WRKSRC} && ( \
${INSTALL_DATA} doc/FAQ CHANGES TODO THANKS \
${PREFIX}/share/doc/xfstt/ ; \
${INSTALL_DATA} doc/examples/font.properties \
${PREFIX}/share/examples/xfstt/ \
)
2000-09-04 17:49:36 +02:00
.include "../../mk/bsd.pkg.mk"