diff options
Diffstat (limited to 'print/transfig/Makefile')
-rw-r--r-- | print/transfig/Makefile | 15 |
1 files changed, 12 insertions, 3 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> |