From owner-svn-ports-head@FreeBSD.ORG Fri May 9 00:20:48 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E23D3A05; Fri, 9 May 2014 00:20:48 +0000 (UTC) Received: from svn.freebsd.org (svn.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 CE1B777E; Fri, 9 May 2014 00:20:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s490KmJW026522; Fri, 9 May 2014 00:20:48 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s490Km6C026509; Fri, 9 May 2014 00:20:48 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201405090020.s490Km6C026509@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 9 May 2014 00:20:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353377 - head/print/transfig 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.18 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: Fri, 09 May 2014 00:20:49 -0000 Author: bapt Date: Fri May 9 00:20:48 2014 New Revision: 353377 URL: http://svnweb.freebsd.org/changeset/ports/353377 QAT: https://qat.redports.org/buildarchive/r353377/ Log: Support stage Modified: head/print/transfig/Makefile head/print/transfig/pkg-plist Modified: head/print/transfig/Makefile ============================================================================== --- head/print/transfig/Makefile Fri May 9 00:20:43 2014 (r353376) +++ head/print/transfig/Makefile Fri May 9 00:20:48 2014 (r353377) @@ -3,6 +3,7 @@ PORTNAME= transfig PORTVERSION= 3.2.5e +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= SF/mcj/mcj-source/ DISTNAME= ${PORTNAME}.${PORTVERSION} @@ -13,12 +14,10 @@ COMMENT= Tools to convert Xfig .fig file RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png - USES= imake CFLAGS+= -Wno-return-type USE_GHOSTSCRIPT_RUN= yes USE_XORG= xpm -MAN1= fig2dev.1 fig2ps2tex.1 pic2tpic.1 transfig.1 CFLAGS+= -I${LOCALBASE}/include/libpng15 MAKE_ARGS+= INSTALLFLAGS="${COPY}" \ @@ -27,5 +26,15 @@ MAKE_ARGS+= INSTALLFLAGS="${COPY}" \ INSTDATFLAGS="${_SHROWNGRP} -m ${SHAREMODE}" \ INSTMANFLAGS="${_MANOWNGRP} -m ${MANMODE}" -NO_STAGE= yes +post-install: + for i in hr_HR hu_HU pl_PL ro_RO; do \ + ${LN} -sf cs_CZ.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \ + done + for i in ja ja_JP.EUC ja_JP.eucJP ja_JP ja_JP.ujis ; do \ + ${LN} -sf japanese.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \ + done + for i in ko ko_KR.EUC ko_KR.eucKR ko_KR ko_KR.ujis; do \ + ${LN} -sf korean.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \ + done + .include Modified: head/print/transfig/pkg-plist ============================================================================== --- head/print/transfig/pkg-plist Fri May 9 00:20:43 2014 (r353376) +++ head/print/transfig/pkg-plist Fri May 9 00:20:48 2014 (r353377) @@ -4,40 +4,24 @@ bin/fig2ps2tex.sh bin/pic2tpic bin/transfig lib/X11/fig2dev/cs_CZ.ps -@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/hr_HR.ps -@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/hu_HU.ps -@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/pl_PL.ps -@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/ro_RO.ps -@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/sk_SK.ps -@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/sl_SI.ps -@unexec rm -f %D/lib/X11/fig2dev/sl_SI.ps -@unexec rm -f %D/lib/X11/fig2dev/sk_SK.ps -@unexec rm -f %D/lib/X11/fig2dev/ro_RO.ps -@unexec rm -f %D/lib/X11/fig2dev/pl_PL.ps -@unexec rm -f %D/lib/X11/fig2dev/hu_HU.ps -@unexec rm -f %D/lib/X11/fig2dev/hr_HR.ps +lib/X11/fig2dev/hr_HR.ps +lib/X11/fig2dev/hu_HU.ps +lib/X11/fig2dev/pl_PL.ps +lib/X11/fig2dev/ro_RO.ps +lib/X11/fig2dev/sk_SK.ps +lib/X11/fig2dev/sl_SI.ps lib/X11/fig2dev/japanese.ps -@exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja.ps -@exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja_JP.EUC.ps -@exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja_JP.eucJP.ps -@exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja_JP.ps -@exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja_JP.ujis.ps -@unexec rm -f %D/lib/X11/fig2dev/ja_JP.ujis.ps -@unexec rm -f %D/lib/X11/fig2dev/ja_JP.ps -@unexec rm -f %D/lib/X11/fig2dev/ja_JP.eucJP.ps -@unexec rm -f %D/lib/X11/fig2dev/ja_JP.EUC.ps -@unexec rm -f %D/lib/X11/fig2dev/ja.ps +lib/X11/fig2dev/ja.ps +lib/X11/fig2dev/ja_JP.EUC.ps +lib/X11/fig2dev/ja_JP.eucJP.ps +lib/X11/fig2dev/ja_JP.ps +lib/X11/fig2dev/ja_JP.ujis.ps lib/X11/fig2dev/korean.ps -@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko.ps -@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko_KR.EUC.ps -@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko_KR.eucKR.ps -@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko_KR.ps -@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko_KR.ujis.ps -@unexec rm -f %D/lib/X11/fig2dev/ko_KR.ujis.ps -@unexec rm -f %D/lib/X11/fig2dev/ko_KR.ps -@unexec rm -f %D/lib/X11/fig2dev/ko_KR.eucKR.ps -@unexec rm -f %D/lib/X11/fig2dev/ko_KR.EUC.ps -@unexec rm -f %D/lib/X11/fig2dev/ko.ps +lib/X11/fig2dev/ko.ps +lib/X11/fig2dev/ko_KR.EUC.ps +lib/X11/fig2dev/ko_KR.eucKR.ps +lib/X11/fig2dev/ko_KR.ps +lib/X11/fig2dev/ko_KR.ujis.ps lib/X11/xfig/bitmaps/bricks.bmp lib/X11/xfig/bitmaps/circles.bmp lib/X11/xfig/bitmaps/crosshatch.bmp @@ -87,6 +71,10 @@ lib/X11/xfig/bitmaps/vert_leftshingle.bm lib/X11/xfig/bitmaps/vert_rightshingle.bmp lib/X11/xfig/bitmaps/vert_saw.bmp lib/X11/xfig/bitmaps/vertical.bmp +man/man1/fig2dev.1.gz +man/man1/fig2ps2tex.1.gz +man/man1/pic2tpic.1.gz +man/man1/transfig.1.gz @dirrm lib/X11/xfig/bitmaps @dirrmtry lib/X11/xfig @dirrm lib/X11/fig2dev