1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/print/ttf2pt1/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

50 lines
1.3 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= ttf2pt1
PORTVERSION= 3.4.4
PORTREVISION= 7
CATEGORIES= print
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= True Type Font to Postscript Type 1 Converter
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libfreetype.so:print/freetype2
RUN_DEPENDS= t1asm:print/t1utils
USES= pkgconfig shebangfix perl5 uidfix tar:tgz
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LIBS="${LIBS}" \
INSTDIR="${STAGEDIR}${PREFIX}" LIBXDIR="${STAGEDIR}${PREFIX}/bin" \
OWNER=${BINOWN} GROUP=${BINGRP}
SHEBANG_FILES= app/TeX/sfd2map \
app/TeX/cjk-latex-config \
other/showdf \
other/showg \
other/*.pl \
scripts/forceiso \
scripts/frommap \
scripts/inst_dir \
scripts/html2man \
scripts/t1fdir \
scripts/trans
CPPFLAGS+= `pkg-config --cflags freetype2` \
-I${LOCALBASE}/include -DUSE_FREETYPE
LIBS+= `pkg-config --libs freetype2` \
-L${LOCALBASE}/lib -lm
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ttf2pt1
@${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/ttf2pt1_convert \
${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_x2gs.1 \
${STAGEDIR}${PREFIX}/man/man1/ttf2pt1.1 \
${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_convert.1 \
${STAGEDIR}${DATADIR}/scripts/convert
.include <bsd.port.mk>