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

File: [cvs.NetBSD.org] / pkgsrc / fonts / ttf2pk / Makefile (download)

Revision 1.10, Mon Dec 5 23:55:07 2005 UTC (17 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.9: +2 -2 lines

Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.

# $NetBSD: Makefile,v 1.10 2005/12/05 23:55:07 rillig Exp $
#

.include "../../graphics/freetype-lib/Makefile.common"

PKGNAME=		ttf2pk-1.3.1
PKGREVISION=		1
CATEGORIES=		print

MAINTAINER=		bernhard@SDG.de,hubertf@NetBSD.org
HOMEPAGE=		http://www.freetype.org/
COMMENT=		TrueType to TeX PK font converter

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--prefix=${LOCALBASE:Q}
CONFIGURE_ARGS+=	--with-kpathsea-dir=${PREFIX}/lib

T2PSRC=			${WRKSRC}/contrib/ttf2pk
CONFIGURE_DIRS+=	${T2PSRC}
BUILD_DIRS=		${T2PSRC}

BUILD_TARGET=		depend all

USE_LIBTOOL=		yes
USE_TOOLS+=		autoconf213

TEXMF=			${PKG_LOCALTEXMFPREFIX}
INSTALLATION_DIRS=	bin man/man1

.include "../../graphics/freetype-lib/buildlink3.mk"
.include "../../print/teTeX/module.mk"

pre-configure:
			cd ${T2PSRC}; autoconf

do-install:
			${INSTALL_PROGRAM}	${T2PSRC}/ttf2pk \
						${T2PSRC}/ttf2tfm \
						${PREFIX}/bin
			${INSTALL_DATA}		${T2PSRC}/ttf2pk.1 \
						${T2PSRC}/ttf2tfm.1 \
						${PREFIX}/man/man1
			${INSTALL_DATA_DIR}	${TEXMF}/doc/ttf2pk
			${INSTALL_DATA}		${T2PSRC}/BUGS \
						${T2PSRC}/README \
						${T2PSRC}/TODO \
						${T2PSRC}/ttf2pk.doc \
						${T2PSRC}/data/ttfonts.map \
						${TEXMF}/doc/ttf2pk
			${INSTALL_DATA_DIR}	${TEXMF}/ttf2tfm
			${LN} -fs		ttf2tfm \
						${TEXMF}/ttf2pk
			${INSTALL_DATA_DIR}	${TEXMF}/ttf2tfm/base
			${INSTALL_DATA}		${T2PSRC}/data/*.enc \
						${T2PSRC}/data/*.rpl \
						${T2PSRC}/data/*.sfd \
						${TEXMF}/ttf2tfm/base
			${TOUCH}		${TEXMF}/ttf2tfm/base/ttfonts.map

.include "../../mk/bsd.pkg.mk"