version 1.10, 2002/09/27 17:03:21 |
version 1.15.2.1, 2004/01/01 22:56:24 |
|
|
# $NetBSD$ |
# $NetBSD$ |
# |
# |
|
|
DISTNAME= xfstt_1.3 |
DISTNAME= xfstt-1.6 |
PKGNAME= ${DISTNAME:S/_/-/} |
CATEGORIES= x11 net fonts |
CATEGORIES= x11 net |
|
PKGREVISION= 1 |
|
MASTER_SITES= http://download.berlios.de/xfstt/ |
MASTER_SITES= http://download.berlios.de/xfstt/ |
|
|
MAINTAINER= packages@netbsd.org |
MAINTAINER= tech-pkg@NetBSD.org |
HOMEPAGE= http://developer.berlios.de/projects/xfstt |
HOMEPAGE= http://developer.berlios.de/projects/xfstt/ |
COMMENT= TrueType font server for X11 |
COMMENT= TrueType font server for X11 |
|
|
CXXFLAGS+= -fomit-frame-pointer -ffast-math |
USE_PKGINSTALL= YES |
MAKE_ENV+= CXXFLAGS="${CXXFLAGS}" |
|
|
|
USE_X11BASE= YES |
USE_X11BASE= YES |
USE_GMAKE= YES |
USE_GMAKE= YES |
WRKSRC= ${WRKDIR}/${PKGNAME} |
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 |
|
|
RCD_SCRIPTS= xfstt |
RCD_SCRIPTS= xfstt |
|
|
post-patch: |
post-patch: |
@( \ |
@( \ |
cd ${WRKSRC} ; \ |
cd ${WRKSRC} ; \ |
for i in INSTALL perftest.cpp xfstt.cpp xfstt.1x; \ |
for f in src/perftest.cc src/xfstt.cc doc/xfstt.1x; \ |
do \ |
do \ |
${MV} $$i $$i.bak ; \ |
${MV} $$f $$f.orig ; \ |
${SED} -e 's;@PREFIX@;${PREFIX};' < $$i.bak > $$i ; \ |
${SED} ${FILES_SUBST_SED} $$f.orig > $$f ; \ |
done ; \ |
done ; \ |
) |
) |
|
|
do-install: |
do-install: |
${INSTALL_PROGRAM} ${WRKSRC}/xfstt ${PREFIX}/bin |
${INSTALL_PROGRAM} ${WRKSRC}/src/xfstt ${PREFIX}/bin |
${INSTALL_MAN} ${WRKSRC}/xfstt.1x ${PREFIX}/man/man1/xfstt.1 |
${INSTALL_MAN} ${WRKSRC}/doc/xfstt.1x ${PREFIX}/man/man1/xfstt.1 |
${INSTALL_DATA_DIR} ${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 ${PREFIX}/share/doc/xfstt |
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/TrueType |
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/TrueType |
${ECHO} belongs to xfstt pkg >${PREFIX}/lib/X11/fonts/TrueType/.keepme |
${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/ \ |
|
) |
|
|
.include "../../mk/bsd.pkg.install.mk" |
|
.include "../../mk/bsd.pkg.mk" |
.include "../../mk/bsd.pkg.mk" |