summaryrefslogtreecommitdiff
path: root/x11/xfstt/Makefile
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-02-22 13:33:31 +0000
committersalo <salo@pkgsrc.org>2003-02-22 13:33:31 +0000
commit72d0786818b8879632ddbcc3b364018ab1d2c4d0 (patch)
tree02d1f82f613887f5e32e83d0a4a41de59209a984 /x11/xfstt/Makefile
parent8aa38df3ed4e6ca0fff8a4649c0f4a48d8bbfa0f (diff)
downloadpkgsrc-72d0786818b8879632ddbcc3b364018ab1d2c4d0.tar.gz
Updated to version 1.4.
Changes: - added MESSAGE file with post-install instructions - minor cleanups 1.4: ==== - Auto* tools - Initial i18n support (not used yet) - Fixed slow down with some programs using FS_ListFontsWithXInfo - Fixed childs unlinking unix socket when father uid == childs uid - Added an option to specify pidfile location - Added endpwent() to prevent leaking one fd - Changed usage output 1.3.1: ====== - Added --cache description to man page
Diffstat (limited to 'x11/xfstt/Makefile')
-rw-r--r--x11/xfstt/Makefile42
1 files changed, 22 insertions, 20 deletions
diff --git a/x11/xfstt/Makefile b/x11/xfstt/Makefile
index a973008303c..27a98b1decf 100644
--- a/x11/xfstt/Makefile
+++ b/x11/xfstt/Makefile
@@ -1,45 +1,47 @@
-# $NetBSD: Makefile,v 1.12 2003/01/28 22:04:36 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2003/02/22 13:33:31 salo Exp $
#
-DISTNAME= xfstt_1.3
-PKGNAME= ${DISTNAME:S/_/-/}
-CATEGORIES= x11 net
-PKGREVISION= 1
+DISTNAME= xfstt-1.4
+CATEGORIES= x11 net fonts
MASTER_SITES= http://download.berlios.de/xfstt/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://developer.berlios.de/projects/xfstt
COMMENT= TrueType font server for X11
-CXXFLAGS+= -fomit-frame-pointer -ffast-math
-MAKE_ENV+= CXXFLAGS="${CXXFLAGS}"
-
USE_PKGINSTALL= YES
USE_X11BASE= YES
USE_GMAKE= YES
-WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+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
post-patch:
@( \
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 \
- ${MV} $$i $$i.bak ; \
- ${SED} -e 's;@PREFIX@;${PREFIX};' < $$i.bak > $$i ; \
+ ${MV} $$f $$f.orig ; \
+ ${SED} ${FILES_SUBST_SED} $$f.orig > $$f ; \
done ; \
)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xfstt ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/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_PROGRAM} ${WRKSRC}/src/xfstt ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/xfstt.1x ${PREFIX}/man/man1/xfstt.1
${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.mk"