aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/t1lib/Makefile21
-rw-r--r--devel/t1lib/distinfo4
-rw-r--r--devel/t1lib/files/patch-configure11
3 files changed, 20 insertions, 16 deletions
diff --git a/devel/t1lib/Makefile b/devel/t1lib/Makefile
index 566a36f411d2..744d93deba64 100644
--- a/devel/t1lib/Makefile
+++ b/devel/t1lib/Makefile
@@ -7,21 +7,19 @@
#
PORTNAME= t1lib
-PORTVERSION= 5.0.1
+PORTVERSION= 5.1.0
PORTEPOCH= 1
CATEGORIES= devel
-### 5.0.2 seems to cause problems with xpdf
-### 5.0.1 has been vanished from most of ibilio/sunsite mirror sites
-#MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITES= http://sunsite.rediris.es/sites2/ibiblio.org/linux/%SUBDIR%/
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= libs/graphics
MAINTAINER= ports@FreeBSD.org
COMMENT= A Type 1 Rasterizer Library for UNIX/X11
-USE_GMAKE= yes
USE_REINPLACE= yes
-USE_INC_LIBTOOL_VER=15
+USE_GMAKE= yes
+USE_LIBTOOL_VER= 15
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= without_doc
INSTALLS_SHLIB= yes
@@ -35,13 +33,8 @@ PLIST_SUB+= X11="@comment "
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|^LIBTOOL[ ]*=.*|LIBTOOL=${LIBTOOL}|' \
- ${WRKSRC}/xglyph/Makefile.in ${WRKSRC}/lib/type1/Makefile.in \
- ${WRKSRC}/lib/t1lib/Makefile.in ${WRKSRC}/lib/Makefile.in \
- ${WRKSRC}/type1afm/Makefile.in ${WRKSRC}/examples/Makefile.in
-
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|^LIBTOOL[ ]*=.*|LIBTOOL=${LIBTOOL}|g'
post-install:
.if !defined(NOPORTDOCS)
diff --git a/devel/t1lib/distinfo b/devel/t1lib/distinfo
index e070494842c8..7b19d87f684d 100644
--- a/devel/t1lib/distinfo
+++ b/devel/t1lib/distinfo
@@ -1,2 +1,2 @@
-MD5 (t1lib-5.0.1.tar.gz) = b4e14bc4bf322c88da41a98f73c19b98
-SIZE (t1lib-5.0.1.tar.gz) = 1647836
+MD5 (t1lib-5.1.0.tar.gz) = a05bed4aa63637052e60690ccde70421
+SIZE (t1lib-5.1.0.tar.gz) = 1838635
diff --git a/devel/t1lib/files/patch-configure b/devel/t1lib/files/patch-configure
new file mode 100644
index 000000000000..50af4a0c7244
--- /dev/null
+++ b/devel/t1lib/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sun Sep 18 14:01:31 2005
++++ configure Sun Sep 18 14:01:37 2005
+@@ -1538,7 +1538,7 @@
+
+
+
+-T1LIB_LT_CURRENT=6
++T1LIB_LT_CURRENT=5
+ T1LIB_LT_REVISION=0
+ T1LIB_LT_AGE=1
+ T1LIB_IDENTIFIER="5.1.0"