pkgsrc/fonts/ttf2pk/Makefile

36 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2015/06/14 11:20:01 markd Exp $
DISTNAME= texlive-20150521-source
PKGNAME= ttf2pk-2.0
PKGREVISION= 1
CATEGORIES= fonts print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/
EXTRACT_SUFX= .tar.xz
MAINTAINER= bernhard@SDG.de
HOMEPAGE= http://www.freetype.org/
COMMENT= TrueType to TeX PK font converter
EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \
${DISTNAME}/texk/ttf2pk2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/ttf2pk2
CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.guess
CONFIG_SUB_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.sub
CONFIGURE_ARGS+= --with-system-kpathsea
CONFIGURE_ARGS+= --with-system-zlib \
--with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include \
--with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
CONFIGURE_ARGS+= --with-system-freetype2
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=6.2.1
.include "../../print/kpathsea/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"