pkgsrc/fonts/ttmkfdir2/Makefile
minskim 72020bcfb0 fonts/ttmkfdir2: Make this build with freetype2-2.9.1
Use pkg-config instead of freetype-config.
2018-05-05 03:56:48 +00:00

33 lines
838 B
Makefile

# $NetBSD: Makefile,v 1.22 2018/05/05 03:56:48 minskim Exp $
#
DISTNAME= ttmkfdir2.20021109
PKGNAME= ${DISTNAME:S/./-/}
PKGREVISION= 6
CATEGORIES= fonts x11
MASTER_SITES= http://people.redhat.com/yshao/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://people.redhat.com/yshao/
COMMENT= Tool that creates a fonts.scale file
CONFLICTS= ttmkfdir-[0-9]*
WRKSRC= ${WRKDIR}/${PKGBASE}
USE_LIBTOOL= yes
USE_TOOLS+= gmake lex pkg-config
USE_LANGUAGES= c c++
MAKE_ENV+= FREETYPE_CONFIG=${FREETYPE_CONFIG:Q}
LDFLAGS+= ${BUILDLINK_LDADD.getopt}
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ttmkfdir ${DESTDIR}${PREFIX}/bin
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"