diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-09 08:20:48 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-09 08:20:48 +0800 |
commit | f5e9f2c6bb46abc087d59f9939f48785d80b08d7 (patch) | |
tree | e0e7c2fc9bd12f53a1d6e832b2cca79396684c71 /print | |
parent | 96035307fb4656a37c7417290b2f0251a915038f (diff) | |
download | freebsd-ports-gnome-f5e9f2c6bb46abc087d59f9939f48785d80b08d7.tar.gz freebsd-ports-gnome-f5e9f2c6bb46abc087d59f9939f48785d80b08d7.tar.zst freebsd-ports-gnome-f5e9f2c6bb46abc087d59f9939f48785d80b08d7.zip |
Support stage
Diffstat (limited to 'print')
-rw-r--r-- | print/transfig/Makefile | 15 | ||||
-rw-r--r-- | print/transfig/pkg-plist | 52 |
2 files changed, 32 insertions, 35 deletions
diff --git a/print/transfig/Makefile b/print/transfig/Makefile index 10338cf23260..095f2f0c3be6 100644 --- a/print/transfig/Makefile +++ b/print/transfig/Makefile @@ -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 files 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> diff --git a/print/transfig/pkg-plist b/print/transfig/pkg-plist index 815dc51100dd..573cfceb911f 100644 --- a/print/transfig/pkg-plist +++ b/print/transfig/pkg-plist @@ -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.bmp 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 |