From owner-svn-ports-head@freebsd.org Sat Jul 25 21:36:58 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40E069AB7DA; Sat, 25 Jul 2015 21:36:58 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B687E0A; Sat, 25 Jul 2015 21:36:58 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6PLavHF050396; Sat, 25 Jul 2015 21:36:57 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6PLav7e050394; Sat, 25 Jul 2015 21:36:57 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201507252136.t6PLav7e050394@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Sat, 25 Jul 2015 21:36:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392908 - in head/print/tex-ptexenc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2015 21:36:58 -0000 Author: hrs Date: Sat Jul 25 21:36:56 2015 New Revision: 392908 URL: https://svnweb.freebsd.org/changeset/ports/392908 Log: - Add iconv support. - Add LICENSE. - Add CTAN mirror to MASTER_SITES. Added: head/print/tex-ptexenc/files/patch-configure (contents, props changed) Modified: head/print/tex-ptexenc/Makefile Modified: head/print/tex-ptexenc/Makefile ============================================================================== --- head/print/tex-ptexenc/Makefile Sat Jul 25 20:46:48 2015 (r392907) +++ head/print/tex-ptexenc/Makefile Sat Jul 25 21:36:56 2015 (r392908) @@ -2,9 +2,9 @@ PORTNAME= ptexenc PORTVERSION= 1.3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print -MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/ +MASTER_SITES= TEX_CTAN/systems/texlive/Source/ PKGNAMEPREFIX= tex- DISTNAME= texlive-20150521-source DIST_SUBDIR= TeX @@ -12,17 +12,22 @@ DIST_SUBDIR= TeX MAINTAINER= hrs@FreeBSD.org COMMENT= Library for Japanese pTeX and its tools -USES= tar:xz libtool pkgconfig +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + +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+= ${ICONV_LIB} +CPPFLAGS+= -I${ICONV_PREFIX}/include INSTALL_TARGET= install-strip .include Added: head/print/tex-ptexenc/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/tex-ptexenc/files/patch-configure Sat Jul 25 21:36:56 2015 (r392908) @@ -0,0 +1,38 @@ +--- configure.orig 2015-07-25 21:31:25 UTC ++++ configure +@@ -14889,7 +14889,7 @@ if ${ac_cv_lib_iconv_iconv_open+:} false + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-liconv $LIBS" ++LIBS="$LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -14924,7 +14924,7 @@ if test "x$ac_cv_lib_iconv_iconv_open" = + #define HAVE_LIBICONV 1 + _ACEOF + +- LIBS="-liconv $LIBS" ++ LIBS="$LIBS" + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5 +@@ -14933,7 +14933,7 @@ if ${ac_cv_lib_iconv_libiconv_open+:} fa + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-liconv $LIBS" ++LIBS="$LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -14968,7 +14968,7 @@ if test "x$ac_cv_lib_iconv_libiconv_open + #define HAVE_LIBICONV 1 + _ACEOF + +- LIBS="-liconv $LIBS" ++ LIBS="$LIBS" + + fi +