Files
ports/print/transfig/Makefile
T
Jason E. Hale 14f7c29430 */*: De-orbit alias.mk
Mk/Uses/alias.mk was an attempt for compat with DPorts, but has rotted.
This feature was never documented in the PHB, so there is no work to
be done by the docs@ team.

Nothing against DragonFly, but if DPorts still needs FreeBSD 9
support, they really should work that out with upstream projects.

Ultimately, we don't need to keep carrying this outdated feature that
doesn't affect us.
2025-12-30 07:00:05 -05:00

38 lines
1013 B
Makefile

PORTNAME= transfig
PORTVERSION= 3.2.5e
PORTREVISION= 6
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:graphics/netpbm
LIB_DEPENDS= libpng.so:graphics/png
USES= ghostscript:run imake xorg
CFLAGS+= -Wno-return-type
USE_XORG= xpm
CONFLICTS_INSTALL= fig2dev # bin/fig2dev bin/fig2ps2tex
MAKE_ARGS+= INSTALLFLAGS="${COPY}" \
INSTPGMFLAGS="${STRIP}" \
INSTBINFLAGS="-m ${BINMODE}" \
INSTDATFLAGS="-m ${SHAREMODE}" \
INSTMANFLAGS="-m ${MANMODE}"
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>