freebsd-ports/print/transfig/Makefile

39 lines
1 KiB
Makefile
Raw Normal View History

# Created by: chuckr@FreeBSD.org
1999-08-31 03:53:22 +02:00
# $FreeBSD$
2000-04-09 19:50:59 +02:00
PORTNAME= transfig
PORTVERSION= 3.2.5e
2014-12-25 21:54:41 +01:00
PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= SF/mcj/mcj-source/
DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= pi@FreeBSD.org
COMMENT= Tools to convert Xfig .fig files
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
2014-12-25 14:53:36 +01:00
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
USES= alias ghostscript:run imake
CFLAGS+= -Wno-return-type
USE_XORG= xpm
MAKE_ARGS+= INSTALLFLAGS="${COPY}" \
2015-04-08 17:18:07 +02:00
INSTPGMFLAGS="${STRIP}" \
INSTBINFLAGS="-m ${BINMODE}" \
INSTDATFLAGS="-m ${SHAREMODE}" \
INSTMANFLAGS="-m ${MANMODE}"
2014-05-09 02:20:48 +02:00
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>