pkgsrc/fonts/ttf2pk/Makefile

31 lines
1,008 B
Makefile

# $NetBSD: Makefile,v 1.27 2012/10/03 18:28:31 asau Exp $
DISTNAME= texlive-20110705-source
PKGNAME= ttf2pk-1.5
PKGREVISION= 5
CATEGORIES= fonts print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
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/ttf2pk
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/ttf2pk
CONFIGURE_ARGS+= --with-system-kpathsea \
--with-kpathsea-includes=${BUILDLINK_PREFIX.kpathsea}/include \
--with-kpathsea-libdir=${BUILDLINK_PREFIX.kpathsea}/lib
CONFIGURE_ARGS+= --with-system-freetype \
--with-freetype-includes=${BUILDLINK_PREFIX.freetype}/include/freetype \
--with-freetype-libdir=${BUILDLINK_PREFIX.freetype}/lib
.include "../../graphics/freetype-lib/buildlink3.mk"
.include "../../print/kpathsea/buildlink3.mk"
.include "../../print/kpathsea/texmf.mk"
.include "../../mk/bsd.pkg.mk"