mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
34 lines
775 B
Makefile
34 lines
775 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: ttf2pt1
|
|
# Date created: Aug 11, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ttf2pt1
|
|
PORTVERSION= 3.4.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= print
|
|
MASTER_SITES= SF
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= True Type Font to Postscript Type 1 Converter
|
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
|
RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils
|
|
|
|
USE_PERL5= yes
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LIBS="${LDFLAGS}" \
|
|
INSTDIR="${PREFIX}" LIBXDIR="${PREFIX}/bin"
|
|
|
|
MAN1= ttf2pt1.1 ttf2pt1_convert.1 ttf2pt1_x2gs.1
|
|
|
|
CPPFLAGS+= `pkg-config --cflags freetype2` \
|
|
-I${LOCALBASE}/include -DUSE_FREETYPE
|
|
LDFLAGS+= `pkg-config --libs freetype2` \
|
|
-L${LOCALBASE}/lib -lm
|
|
|
|
.include <bsd.port.mk>
|