aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/ttmkfdir/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-12-09 08:50:45 +0800
committerpav <pav@FreeBSD.org>2003-12-09 08:50:45 +0800
commit5fada297d1233f7973c17d31c56a4370176f0d3c (patch)
tree97248577e1951f4d209dc0532d2f6e595e2f543d /x11-fonts/ttmkfdir/Makefile
parent8165c463e1b49eb0b5464061887721d482353329 (diff)
downloadfreebsd-ports-gnome-5fada297d1233f7973c17d31c56a4370176f0d3c.tar.gz
freebsd-ports-gnome-5fada297d1233f7973c17d31c56a4370176f0d3c.tar.zst
freebsd-ports-gnome-5fada297d1233f7973c17d31c56a4370176f0d3c.zip
- On many systems, ttmkfdir was the only reason to install freetype1.
Here is ttmkfdir that uses freetype2 as a backend. PR: ports/60055 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'x11-fonts/ttmkfdir/Makefile')
-rw-r--r--x11-fonts/ttmkfdir/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/x11-fonts/ttmkfdir/Makefile b/x11-fonts/ttmkfdir/Makefile
index e103c35bf7f9..bc23ff80e7e1 100644
--- a/x11-fonts/ttmkfdir/Makefile
+++ b/x11-fonts/ttmkfdir/Makefile
@@ -6,22 +6,23 @@
#
PORTNAME= ttmkfdir
-PORTVERSION= 0.0
-PORTREVISION= 1
+PORTVERSION= 20021109
CATEGORIES= x11-fonts x11
-MASTER_SITES= http://www.joerg-pommnitz.de/TrueType/
-DISTNAME= ${PORTNAME}
+MASTER_SITES= http://people.redhat.com/yshao/
+DISTNAME= ${PORTNAME}2
MAINTAINER= ports@FreeBSD.org
COMMENT= Create fonts.scale file for use with TrueType font server
-NO_WRKSUBDIR= yes
+BUILD_DEPENDS= libtool13:${PORTSDIR}/devel/libtool13
+LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GETOPT_LONG=yes
USE_X_PREFIX= yes
-USE_FREETYPE= yes
-do-build:
- cd ${WRKSRC}; ${CC} ${CFLAGS} -I${LOCALBASE}/include/freetype1/freetype \
- ttmkfdir.c -o ttmkfdir -L${LOCALBASE}/lib -lttf
+MAKE_ENV= LDFLAGS="${LDFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ttmkfdir ${PREFIX}/bin