[Midnightbsd-cvs] mports [20349] trunk/print/tex-ptexenc: tex-ptexenc-1.3.3

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Sep 30 22:23:35 EDT 2015


Revision: 20349
          http://svnweb.midnightbsd.org/mports/?rev=20349
Author:   laffer1
Date:     2015-09-30 22:23:34 -0400 (Wed, 30 Sep 2015)
Log Message:
-----------
tex-ptexenc-1.3.3

Modified Paths:
--------------
    trunk/print/tex-ptexenc/Makefile
    trunk/print/tex-ptexenc/distinfo
    trunk/print/tex-ptexenc/files/patch-Makefile.in
    trunk/print/tex-ptexenc/files/patch-ptexenc.c
    trunk/print/tex-ptexenc/pkg-plist

Modified: trunk/print/tex-ptexenc/Makefile
===================================================================
--- trunk/print/tex-ptexenc/Makefile	2015-10-01 02:20:49 UTC (rev 20348)
+++ trunk/print/tex-ptexenc/Makefile	2015-10-01 02:23:34 UTC (rev 20349)
@@ -2,11 +2,12 @@
 # $FreeBSD: head/print/tex-ptexenc/Makefile 365637 2014-08-22 11:04:23Z hrs $
 
 PORTNAME=	ptexenc
-PORTVERSION=	1.3.2
+PORTVERSION=	1.3.3
+PORTREVISION=	0
 CATEGORIES=	print
-MASTER_SITES=	ftp://tug.org/historic/systems/texlive/2014/
+MASTER_SITES=	TEX_CTAN/systems/texlive/Source/
 PKGNAMEPREFIX=	tex-
-DISTNAME=	texlive-20140525-source
+DISTNAME=	texlive-20150521-source
 DIST_SUBDIR=	TeX
 
 MAINTAINER=	ports at MidnightBSD.org
@@ -13,17 +14,21 @@
 COMMENT=	Library for Japanese pTeX and its tools
 
 LICENSE=	bsd3
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-USES=		tar:xz libtool
+USES=		iconv libtool pkgconfig tar:xz
 USE_TEX=	kpathsea
 USE_LDCONFIG=	yes
 WRKSRC=		${WRKDIR}/${DISTNAME}/texk/ptexenc
-EXTRACT_AFTER_ARGS=	${EXTRACT_FILES}
-EXTRACT_FILES=	${DISTNAME}/build-aux \
-		${DISTNAME}/texk/ptexenc
+EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S/^/${DISTNAME}\//}
+EXTRACT_FILES=	build-aux texk/ptexenc
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-system-kpathsea \
+CONFIGURE_ARGS=	--enable-kanji-iconv \
+		--with-system-kpathsea \
 		--with-kpathsea-includes=${LOCALBASE}/include \
 		--with-kpathsea-libdir=${LOCALBASE}/lib
+LIBS+=		-L${ICONV_PREFIX}/lib ${ICONV_LIB}
+CPPFLAGS+=	-I${ICONV_PREFIX}/include
+INSTALL_TARGET=	install-strip
 
 .include <bsd.port.mk>

Modified: trunk/print/tex-ptexenc/distinfo
===================================================================
--- trunk/print/tex-ptexenc/distinfo	2015-10-01 02:20:49 UTC (rev 20348)
+++ trunk/print/tex-ptexenc/distinfo	2015-10-01 02:23:34 UTC (rev 20349)
@@ -1,2 +1,2 @@
-SHA256 (TeX/texlive-20140525-source.tar.xz) = 08bb4eb02923ac65ce1183612c6b64da185904f26a1660f5ca4f902d055795be
-SIZE (TeX/texlive-20140525-source.tar.xz) = 41657688
+SHA256 (TeX/texlive-20150521-source.tar.xz) = ed9bcd7bdce899c3c27c16a8c5c3017c4f09e1d7fd097038351b72497e9d4669
+SIZE (TeX/texlive-20150521-source.tar.xz) = 45459552

Modified: trunk/print/tex-ptexenc/files/patch-Makefile.in
===================================================================
--- trunk/print/tex-ptexenc/files/patch-Makefile.in	2015-10-01 02:20:49 UTC (rev 20348)
+++ trunk/print/tex-ptexenc/files/patch-Makefile.in	2015-10-01 02:23:34 UTC (rev 20349)
@@ -1,6 +1,6 @@
---- Makefile.in.orig	2014-08-21 00:32:34.000000000 +0900
-+++ Makefile.in	2014-08-21 00:33:04.000000000 +0900
-@@ -381,7 +381,8 @@
+--- Makefile.in.orig	2015-03-12 14:42:02 UTC
++++ Makefile.in
+@@ -396,9 +396,10 @@ libptexenc_la_SOURCES = \
  libptexenc_la_LIBADD = $(KPATHSEA_LIBS)
  nobase_include_HEADERS = \
  	ptexenc/ptexenc.h \
@@ -8,5 +8,8 @@
 +	ptexenc/unicode.h \
 +	ptexenc/unicode-jp.h
  
+-pkgconfigdir = ${libdir}/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = ptexenc.pc
  EXTRA_DIST = COPYRIGHT ChangeLog.jp
  

Modified: trunk/print/tex-ptexenc/files/patch-ptexenc.c
===================================================================
--- trunk/print/tex-ptexenc/files/patch-ptexenc.c	2015-10-01 02:20:49 UTC (rev 20348)
+++ trunk/print/tex-ptexenc/files/patch-ptexenc.c	2015-10-01 02:23:34 UTC (rev 20349)
@@ -1,5 +1,5 @@
---- ptexenc.c.orig	2014-04-28 15:37:18.000000000 +0900
-+++ ptexenc.c	2014-08-20 23:12:12.000000000 +0900
+--- ptexenc.c.orig	2014-04-28 06:37:18 UTC
++++ ptexenc.c
 @@ -15,6 +15,7 @@
  #include <ptexenc/unicode-jp.h>
  
@@ -56,7 +56,7 @@
  #define ESC '\033'
  
  #ifndef NOFILE
-@@ -64,7 +101,7 @@
+@@ -64,7 +101,7 @@ static const_string enc_to_string(int en
  static int string_to_enc(const_string str)
  {
      if (str == NULL)                    return ENC_UNKNOWN;
@@ -65,7 +65,7 @@
      if (strcasecmp(str, "jis")    == 0) return ENC_JIS;
      if (strcasecmp(str, "euc")    == 0) return ENC_EUC;
      if (strcasecmp(str, "sjis")   == 0) return ENC_SJIS;
-@@ -92,7 +129,7 @@
+@@ -92,7 +129,7 @@ static int get_default_enc(void)
      } else if (enc != ENC_UNKNOWN) {
          return enc;
      }
@@ -74,7 +74,7 @@
  }
  
  static void set_file_enc(int enc)
-@@ -150,14 +187,14 @@
+@@ -150,14 +187,14 @@ void enable_UPTEX (boolean enable)
  {
      UPTEX_enabled = enable;
      if (enable) {

Modified: trunk/print/tex-ptexenc/pkg-plist
===================================================================
--- trunk/print/tex-ptexenc/pkg-plist	2015-10-01 02:20:49 UTC (rev 20348)
+++ trunk/print/tex-ptexenc/pkg-plist	2015-10-01 02:23:34 UTC (rev 20349)
@@ -4,4 +4,5 @@
 lib/libptexenc.a
 lib/libptexenc.so
 lib/libptexenc.so.1
-lib/libptexenc.so.1.3.2
+lib/libptexenc.so.1.3.3
+libdata/pkgconfig/ptexenc.pc



More information about the Midnightbsd-cvs mailing list