[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xfstt

File: [cvs.NetBSD.org] / pkgsrc / x11 / xfstt / Makefile (download)

Revision 1.41, Sun Jan 29 05:54:21 2017 UTC (7 years, 2 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.40: +2 -2 lines

Updated x11/xfstt to 1.9.3
--------------------------
1.9.3 (2016-05-23)
        Documentation:
         · Switch to https for hadrons.org URLs.
        Code cleanup:
         · Check strSubFamily for emptiness when assigning it.
         · Use matching delete [] operator for new [].
         · Use std::string instead of static buffers.
         · Check error failures from socket() call.
         · Do no dereference TTFont variable before using it.
         · Use memcpy() instead of strncpy() to copy a fixed-length string.
         · Initialize structs that go over the wire to 0.
         · Remove pathname length check.

1.9.2 (2015-08-11)
        Documentation:
         · Update Jave AWT font.properties example.
         · Switch source browser URL to use cgit.
         · Remove obsolete LSM file.
        Build system:
         · Enable system extensions.
         · Enable LFS with AC_SYS_LARGEFILE.
         · Use AM_PROG_AR to detect the correct archiver to use.
         · Bump gettext dependency to 0.19.

# $NetBSD: Makefile,v 1.41 2017/01/29 05:54:21 mef Exp $

DISTNAME=		xfstt-1.9.3
CATEGORIES=		x11 net fonts
MASTER_SITES=		http://archive.hadrons.org/software/xfstt/
EXTRACT_SUFX=		.tar.xz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.hadrons.org/software/xfstt/
COMMENT=		TrueType font server for X11
LICENSE=		gnu-gpl-v2

USE_LANGUAGES=		c c++
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

LDFLAGS.SunOS+=		-lsocket -lnsl

RCD_SCRIPTS=		xfstt
INSTALLATION_DIRS=	bin			\
			${PKGMANDIR}/man1	\
			share/fonts/X11/TTF	\
			share/doc/xfstt		\
			share/examples/xfstt

SUBST_CLASSES+=		paths
SUBST_FILES.paths=	doc/FAQ
SUBST_SED.paths=	-e 's,/usr,${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"