aboutsummaryrefslogtreecommitdiff
path: root/print/ttf2pt1
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-12-20 17:40:37 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-12-20 17:40:37 +0000
commit6c68f3e33d0ae212a0f521977c2b2899bfc99ad3 (patch)
tree2cc73cc2d1c8db870a7211ddce060b616127b341 /print/ttf2pt1
parent7045ff3c08915e09dbbd6010f5d2de03569cf102 (diff)
downloadports-6c68f3e33d0ae212a0f521977c2b2899bfc99ad3.tar.gz
ports-6c68f3e33d0ae212a0f521977c2b2899bfc99ad3.zip
- Don't install t1asm, depends on t1utils instead
Reported by: Edward G.J.Lee <edt1023 at info.sayya.org>
Notes
Notes: svn path=/head/; revision=180290
Diffstat (limited to 'print/ttf2pt1')
-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