aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-21 01:40:37 +0800
committerrafan <rafan@FreeBSD.org>2006-12-21 01:40:37 +0800
commit74495efdc72f32f53f16492cac6b821f8c7a5001 (patch)
treea95f3786ca10f4e663d1621d2ef20c30700856e0 /print
parentc782c5c4c71e0de787d9b93bd304cedf4b8c6a2b (diff)
downloadfreebsd-ports-gnome-74495efdc72f32f53f16492cac6b821f8c7a5001.tar.gz
freebsd-ports-gnome-74495efdc72f32f53f16492cac6b821f8c7a5001.tar.zst
freebsd-ports-gnome-74495efdc72f32f53f16492cac6b821f8c7a5001.zip
- Don't install t1asm, depends on t1utils instead
Reported by: Edward G.J.Lee <edt1023 at info.sayya.org>
Diffstat (limited to 'print')
-rw-r--r--print/ttf2pt1/Makefile2
-rw-r--r--print/ttf2pt1/files/patch-Makefile10
-rw-r--r--print/ttf2pt1/pkg-plist1
3 files changed, 12 insertions, 1 deletions
diff --git a/print/ttf2pt1/Makefile b/print/ttf2pt1/Makefile
index 68ad71a43270..59a3afccf9bb 100644
--- a/print/ttf2pt1/Makefile
+++ b/print/ttf2pt1/Makefile
@@ -8,6 +8,7 @@
PORTNAME= ttf2pt1
PORTVERSION= 3.4.4
+PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,6 +18,7 @@ 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}" \
diff --git a/print/ttf2pt1/files/patch-Makefile b/print/ttf2pt1/files/patch-Makefile
new file mode 100644
index 000000000000..9e9c62b2b3c4
--- /dev/null
+++ b/print/ttf2pt1/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig Sun Oct 22 23:19:32 2006
++++ Makefile Sun Oct 22 23:19:36 2006
+@@ -243,7 +243,6 @@
+ chgrp -R $(GROUP) $(SHAREDIR)
+ chmod -R go-w $(SHAREDIR)
+ scripts/inst_file ttf2pt1 $(BINDIR)/ttf2pt1 $(OWNER) $(GROUP) 0755
+- [ -f $(BINDIR)/t1asm ] || scripts/inst_file t1asm $(LIBXDIR)/t1asm $(OWNER) $(GROUP) 0755
+ sed 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|;\
+ s|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|;\
+ s|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|;' <scripts/convert >cvt.tmp
diff --git a/print/ttf2pt1/pkg-plist b/print/ttf2pt1/pkg-plist
index 2da83ae968b1..f4ce7437320b 100644
--- a/print/ttf2pt1/pkg-plist
+++ b/print/ttf2pt1/pkg-plist
@@ -1,4 +1,3 @@
-bin/t1asm
bin/ttf2pt1
bin/ttf2pt1_convert
bin/ttf2pt1_x2gs