8cfeb56538
CHANGES file no longer exists, remove from install file list. PLIST Because of missing CHANGES, two files were not installed. Pick them up again.
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2012/06/13 08:23:26 mef Exp $
|
|
#
|
|
|
|
DISTNAME= xfstt-1.9
|
|
CATEGORIES= x11 net fonts
|
|
MASTER_SITES= http://download.berlios.de/xfstt/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://developer.berlios.de/projects/xfstt/
|
|
COMMENT= TrueType font server for X11
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_X11BASE= YES
|
|
USE_TOOLS+= gmake pkg-config
|
|
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
|
|
INSTALLATION_DIRS= bin \
|
|
${PKGMANDIR}/man1 \
|
|
lib/X11/fonts/TTF \
|
|
share/doc/xfstt \
|
|
share/examples/xfstt
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= doc/FAQ doc/xfstt.1x
|
|
SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g'
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xfstt ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/xfstt.1x \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xfstt.1
|
|
cd ${WRKSRC} && ( \
|
|
${INSTALL_DATA} doc/FAQ TODO THANKS \
|
|
${DESTDIR}${PREFIX}/share/doc/xfstt/ ; \
|
|
${INSTALL_DATA} doc/examples/font.properties \
|
|
${DESTDIR}${PREFIX}/share/examples/xfstt/ \
|
|
)
|
|
|
|
.include "../../x11/fontsproto/buildlink3.mk"
|
|
.include "../../x11/xproto/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|