Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2014 00:20:48 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353377 - head/print/transfig
Message-ID:  <201405090020.s490Km6C026509@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405090020.s490Km6C026509>